summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-dhcp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/print-dhcp6.c')
-rw-r--r--usr.sbin/tcpdump/print-dhcp6.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-dhcp6.c b/usr.sbin/tcpdump/print-dhcp6.c
index 96df730f1b4..7ee68eca948 100644
--- a/usr.sbin/tcpdump/print-dhcp6.c
+++ b/usr.sbin/tcpdump/print-dhcp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-dhcp6.c,v 1.1 2000/04/26 21:35:39 jakob Exp $ */
+/* $OpenBSD: print-dhcp6.c,v 1.2 2000/05/05 12:32:09 jakob Exp $ */
/*
* Copyright (C) 1998 and 1999 WIDE Project.
@@ -31,9 +31,11 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-dhcp6.c,v 1.1 2000/04/26 21:35:39 jakob Exp $";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-dhcp6.c,v 1.2 2000/05/05 12:32:09 jakob Exp $";
#endif
+#ifdef INET6
+
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
@@ -338,3 +340,5 @@ dhcp6_print(register const u_char *cp, u_int length,
trunc:
printf("%s", tstr);
}
+
+#endif /* INET6 */