]> The Tcpdump Group git mirrors - libpcap/commitdiff
Get rid of redundant definition of DLT_IPNET.
authorGuy Harris <[email protected]>
Wed, 25 Nov 2009 19:50:11 +0000 (11:50 -0800)
committerGuy Harris <[email protected]>
Wed, 25 Nov 2009 19:50:11 +0000 (11:50 -0800)
Don't define DLT_IPOIB with the same value as one of the DLT_USERn
definitions - it's not used, and we don't want to make anybody think
that value belongs to any particular link-layer type.

pcap/bpf.h

index cd61f83fe7e521b9a34f891750f9e0af61e11061..9df1011bc7d98cdb41081fc83cbd2550ceebc20d 100644 (file)
@@ -953,9 +953,6 @@ struct bpf_version {
  */
 #define DLT_CAN_SOCKETCAN              227
 
-#define        DLT_IPNET               226     /* Assigned by tcpdump.org */
-#define        DLT_IPOIB               162     /* Private until we know what it is */
-
 /*
  * IPNET
  */