]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rt6.c
Use "len", not "payload_len", as we step through the packet; use
[tcpdump] / print-rt6.c
index 063d5cd63ea741d4c0e6f9add49f4394b9f7a718..822ae7cc3a41111781324b80fadcf43742cd2372 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.25 2003-11-16 09:36:35 guy Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.26 2003-11-19 00:36:08 guy Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -102,6 +102,6 @@ rt6_print(register const u_char *bp, register const u_char *bp2)
 
  trunc:
        fputs("[|srcrt]", stdout);
-       return 65535;           /* XXX */
+       return -1;
 }
 #endif /* INET6 */