]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-arp.c
Fix a bunch of de-constifications.
[tcpdump] / print-arp.c
index b1cc7fc780535968aa901f5e146db186d4bd8425..b54a30f0e554523bbd485823975e430f299e0981 100644 (file)
@@ -19,7 +19,6 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -389,8 +388,8 @@ arp_print(netdissect_options *ndo,
 
        case ARPOP_INVREPLY:
                ND_PRINT((ndo,"%s at %s",
 
        case ARPOP_INVREPLY:
                ND_PRINT((ndo,"%s at %s",
-                         linkaddr_string(ndo, THA(ap), linkaddr, HRD_LEN(ap)),
-                         ipaddr_string(ndo, TPA(ap))));
+                         linkaddr_string(ndo, SHA(ap), linkaddr, HRD_LEN(ap)),
+                         ipaddr_string(ndo, SPA(ap))));
                break;
 
        default:
                break;
 
        default: