mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 02:23:27 +08:00
From Toshihiro Kanda, via FreeBSD: fix printing of address in AARP
replies (the relevant address is the source address, not the destination address).
This commit is contained in:
parent
aae14f93d9
commit
2819ae6fae
1
CREDITS
1
CREDITS
@ -163,6 +163,7 @@ Additional people who have contributed patches:
|
||||
Terry Kennedy <terry at tmk dot com>
|
||||
Timo Koskiahde
|
||||
Tony Li <tli at procket dot com>
|
||||
Toshihiro Kanda <candy at fct dot kgc dot co dot jp>
|
||||
Uns Lider <unslider at miranda dot org>
|
||||
Victor Oppleman <oppleman at users dot sourceforge dot net>
|
||||
Wesley Griffin <wgriffin at users dot sourceforge dot net>
|
||||
|
@ -213,7 +213,7 @@ aarp_print(register const u_char *bp, u_int length)
|
||||
|
||||
case 2: /* response */
|
||||
(void)printf("reply %s is-at %s",
|
||||
AT(pdaddr), etheraddr_string(ap->hdaddr));
|
||||
AT(psaddr), etheraddr_string(ap->hsaddr));
|
||||
return;
|
||||
|
||||
case 3: /* probe (oy!) */
|
||||
|
Loading…
Reference in New Issue
Block a user