Fix address padding bug in patty_ax25_pton()
Fix address padding bug in patty_ax25_pton() wherein a literal space was filled into an address field, rather than a space (0x20) shifted left by one
This commit is contained in:
parent
d5e2062dea
commit
b8c19ea6cd
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ int patty_ax25_pton(const char *callsign,
|
|||
}
|
||||
|
||||
while (o < PATTY_AX25_CALLSIGN_LEN) {
|
||||
addr->callsign[o++] = ' ';
|
||||
addr->callsign[o++] = ' ' << 1;
|
||||
}
|
||||
|
||||
addr->ssid = (ssid & 0x0f) << 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue