summaryrefslogtreecommitdiff
path: root/print-enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-enc.c')
-rw-r--r--print-enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-enc.c b/print-enc.c
index 89daae1bb4a36..7bd8631e5207b 100644
--- a/print-enc.c
+++ b/print-enc.c
@@ -117,11 +117,11 @@ enc_if_print(netdissect_options *ndo,
case AF_INET:
ip_print(ndo, p, length);
break;
-#ifdef INET6
+#ifdef AF_INET6
case AF_INET6:
ip6_print(ndo, p, length);
break;
-#endif /*INET6*/
+#endif
}
out: