]> The Tcpdump Group git mirrors - tcpdump/commitdiff
(icmp_print): step through all advertised routers for a router
authorassar <assar>
Mon, 15 May 2000 00:59:41 +0000 (00:59 +0000)
committerassar <assar>
Mon, 15 May 2000 00:59:41 +0000 (00:59 +0000)
advertisement.  From <[email protected]>

print-icmp.c

index bc7fc12e32454788324b2f65c40471e33616a5ac..eb0ca7dfeff8bbf27bd0601a08f3c3425f8fb9fd 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.45 2000-04-28 11:46:11 itojun Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.46 2000-05-15 00:59:41 assar Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -314,6 +314,7 @@ icmp_print(register const u_char *bp, u_int plen, register const u_char *bp2)
                            ipaddr_string(&idp->ird_addr),
                            EXTRACT_32BITS(&idp->ird_pref));
                        cp = buf + strlen(buf);
+                       ++idp;
                }
            }
                break;