]> The Tcpdump Group git mirrors - tcpdump/commitdiff
remove comment which may not be correct; i've experienced unaligned header
authoritojun <itojun>
Fri, 16 Nov 2001 02:17:36 +0000 (02:17 +0000)
committeritojun <itojun>
Fri, 16 Nov 2001 02:17:36 +0000 (02:17 +0000)
on bpf taps with netbsd 1.5Y.

print-ip.c
print-ip6.c

index 62c70342fe606607b584be85f3099fc4db3a2d06..c14d2fc2977bdedfb5a39166fbd23261cbe2b74f 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.101 2001-10-27 07:42:46 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.102 2001-11-16 02:17:36 itojun Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -264,8 +264,6 @@ ip_print(register const u_char *bp, register u_int length)
 #ifdef LBL_ALIGN
        /*
         * If the IP header is not aligned, copy into abuf.
-        * This will never happen with BPF.  It does happen raw packet
-        * dumps from -r.
         */
        if ((long)ip & 3) {
                static u_char *abuf = NULL;
index 98588267cf52c498c3fb27573b0c4ca52b4e1ee7..d1593995e3597785296018e988638dd3a6333725 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.20 2001-11-15 07:51:09 itojun Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.21 2001-11-16 02:17:36 itojun Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -66,8 +66,6 @@ ip6_print(register const u_char *bp, register u_int length)
 #ifdef LBL_ALIGN
        /*
         * The IP6 header is not 16-byte aligned, so copy into abuf.
-        * This will never happen with BPF.  It does happen raw packet
-        * dumps from -r.
         */
        if ((u_long)ip6 & 15) {
                static u_char *abuf;