]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-icmp6.c
sync with 2292bis-02/ND_RA_FLAG_HOME_AGENT
[tcpdump] / print-icmp6.c
index 1b47c89c6f9663c0351f53fe5ccac8f2a74e6666..0c1535a48016b734bbe7e16800fbd04336184bc3 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.52 2001-06-01 04:08:57 itojun Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.53 2001-06-01 22:59:45 itojun Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -280,10 +280,7 @@ icmp6_print(const u_char *bp, const u_char *bp2)
                                printf("M");
                        if (p->nd_ra_flags_reserved & ND_RA_FLAG_OTHER)
                                printf("O");
-#ifndef ND_RA_FLAG_HA
-#define ND_RA_FLAG_HA  0x20
-#endif
-                       if (p->nd_ra_flags_reserved & ND_RA_FLAG_HA)
+                       if (p->nd_ra_flags_reserved & ND_RA_FLAG_HOME_AGENT)
                                printf("H");
 
                        if ((p->nd_ra_flags_reserved & ~ND_RA_FLAG_RTPREF_MASK)