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:
Guy Harris 2009-07-25 10:37:47 -07:00
parent aae14f93d9
commit 2819ae6fae
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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!) */