]> The Tcpdump Group git mirrors - tcpdump/commitdiff
We've gotten our IP definitions/declarations from our own "ip.h" for a
authorguy <guy>
Sun, 13 Nov 2005 20:29:38 +0000 (20:29 +0000)
committerguy <guy>
Sun, 13 Nov 2005 20:29:38 +0000 (20:29 +0000)
while, and it defines IP_MF and IP_DF; we don't need to compensate for
system headers lacking them.

print-ip.c

index 81a45132196566f7696577320be431b100cf5bc2..9fc7cd871b4a273c34ddee0debe96a95769aa550 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.153 2005-11-13 11:51:32 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.154 2005-11-13 20:29:38 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -341,12 +341,6 @@ in_cksum_shouldbe(u_int16_t sum, u_int16_t computed_sum)
        return shouldbe;
 }
 
-#ifndef IP_MF
-#define IP_MF 0x2000
-#endif /* IP_MF */
-#ifndef IP_DF
-#define IP_DF 0x4000
-#endif /* IP_DF */
 #define IP_RES 0x8000
 
 static struct tok ip_frag_values[] = {