Whoops
This commit is contained in:
parent
b9c3568c43
commit
cc21e6342b
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ static void save_reply_addr(patty_ax25_sock *sock,
|
|||
patty_ax25_frame *frame) {
|
||||
unsigned int i,
|
||||
hops = frame->hops > PATTY_AX25_MAX_HOPS?
|
||||
PATTY_AX25_MAX_HOPS: hops;
|
||||
PATTY_AX25_MAX_HOPS: sock->hops;
|
||||
|
||||
memcpy(&sock->local, &frame->dest, sizeof(patty_ax25_addr));
|
||||
memcpy(&sock->remote, &frame->src, sizeof(patty_ax25_addr));
|
||||
|
|
Loading…
Add table
Reference in a new issue