Don't need to do that
This commit is contained in:
parent
255e15fb7b
commit
d98249ef77
1 changed files with 1 additions and 2 deletions
|
@ -1058,8 +1058,7 @@ static void save_reply_addr(patty_ax25_sock *sock,
|
||||||
hops = frame->hops > PATTY_AX25_MAX_HOPS?
|
hops = frame->hops > PATTY_AX25_MAX_HOPS?
|
||||||
PATTY_AX25_MAX_HOPS: sock->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));
|
||||||
memcpy(&sock->remote, &frame->src, sizeof(patty_ax25_addr));
|
|
||||||
|
|
||||||
for (i=0; i<hops; i++) {
|
for (i=0; i<hops; i++) {
|
||||||
memcpy(&sock->repeaters[i],
|
memcpy(&sock->repeaters[i],
|
||||||
|
|
Loading…
Add table
Reference in a new issue