]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip6opts.c
Handle very large -f files by rejecting them.
[tcpdump] / print-ip6opts.c
index b1af8f865c2ff9f704b7d8c354b0c85d4456bd74..14768deb3795ce01dc9d2a5b2d1822d7a8004f4c 100644 (file)
  * SUCH DAMAGE.
  */
 
+/* \summary: IPv6 header option printer */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#ifdef INET6
-#include <tcpdump-stdinc.h>
-
-#include "ip6.h"
+#include <netdissect-stdinc.h>
 
-#include "interface.h"
+#include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
 
+#include "ip6.h"
+
 static void
 ip6_sopt_print(netdissect_options *ndo, const u_char *bp, int len)
 {
@@ -210,4 +211,3 @@ dstopt_print(netdissect_options *ndo, register const u_char *bp)
     ND_PRINT((ndo, "[|DSTOPT]"));
     return(-1);
 }
-#endif /* INET6 */