]> The Tcpdump Group git mirrors - tcpdump/commitdiff
From Toshihiro Kanda, via FreeBSD: fix printing of address in AARP
authorGuy Harris <[email protected]>
Sat, 25 Jul 2009 17:37:47 +0000 (10:37 -0700)
committerGuy Harris <[email protected]>
Sat, 25 Jul 2009 17:37:47 +0000 (10:37 -0700)
replies (the relevant address is the source address, not the destination
address).

CREDITS
print-atalk.c

diff --git a/CREDITS b/CREDITS
index c2c14e6f7460a177940ac36034e80bc30d2112e6..54716e397db0eded14225b8f05d5fc04a7448c81 100644 (file)
--- a/CREDITS
+++ b/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>
index 6ea136116788086c3d04f5824839177832c70d51..e7d6b5fdb1c4d12505c7266927ffe0289739ea10 100644 (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!) */