]> 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 6b8bae64315482eaee6e4d2e3230002a047d85b4..822ae7cc3a41111781324b80fadcf43742cd2372 100644 (file)
@@ -20,8 +20,8 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.23 2003-02-05 02:36:26 guy Exp $";
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.26 2003-11-19 00:36:08 guy Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
 #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);
 
  trunc:
        fputs("[|srcrt]", stdout);
-       return 65535;           /* XXX */
+       return -1;
 }
 #endif /* INET6 */
 }
 #endif /* INET6 */