diff options
author | Patrick Kelsey <pkelsey@FreeBSD.org> | 2015-07-06 02:16:08 +0000 |
---|---|---|
committer | Patrick Kelsey <pkelsey@FreeBSD.org> | 2015-07-06 02:16:08 +0000 |
commit | 7041091186ddb72670e3e2d8254859ed31d3f2e6 (patch) | |
tree | a4829ce6205db3fdb0e6cebd0d396f5c4094bb3b /print-ip6.c | |
parent | d3b6650ba68c44e3a488aac17bbe56d0cd0e870d (diff) |
Diffstat (limited to 'print-ip6.c')
-rw-r--r-- | print-ip6.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/print-ip6.c b/print-ip6.c index 7311c8ff869a4..dd6b7f5105adb 100644 --- a/print-ip6.c +++ b/print-ip6.c @@ -24,8 +24,6 @@ #include "config.h" #endif -#ifdef INET6 - #include <tcpdump-stdinc.h> #include <string.h> @@ -34,6 +32,8 @@ #include "addrtoname.h" #include "extract.h" +#ifdef INET6 + #include "ip6.h" #include "ipproto.h" @@ -266,4 +266,12 @@ trunc: ND_PRINT((ndo, "[|ip6]")); } +#else /* INET6 */ + +void +ip6_print(netdissect_options *ndo, const u_char *bp _U_, u_int length) +{ + ND_PRINT((ndo, "IP6, length: %u (printing not supported)", length)); +} + #endif /* INET6 */ |