summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-dhcp6.c
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2000-05-05 12:32:10 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2000-05-05 12:32:10 +0000
commitbcf9b4de5687e4629dc5178c8fec6e260c9418a4 (patch)
treea901a6276cce12119e0b8fe5f8c82b23ca05843e /usr.sbin/tcpdump/print-dhcp6.c
parentfdae72b57f1f920d9f30f04d2c15dfe67f7193ac (diff)
build without INET6; <goeran@cdg.chalmers.se>
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 */