diff options
author | 2000-05-05 12:32:09 +0000 | |
---|---|---|
committer | 2000-05-05 12:32:09 +0000 | |
commit | 38afba55f35cc4da7febcdae098c74b64dec5d0d (patch) | |
tree | cc23448470d9a76ff476cea51268cb7bc678d6d6 | |
parent | Don't set filesize limit to infinity on exit. (diff) | |
download | wireguard-openbsd-38afba55f35cc4da7febcdae098c74b64dec5d0d.tar.xz wireguard-openbsd-38afba55f35cc4da7febcdae098c74b64dec5d0d.zip |
build without INET6; <goeran@cdg.chalmers.se>
-rw-r--r-- | usr.sbin/tcpdump/print-dhcp6.c | 8 | ||||
-rw-r--r-- | usr.sbin/tcpdump/print-ospf6.c | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/print-dhcp6.c b/usr.sbin/tcpdump/print-dhcp6.c index 03260278067..f345715b090 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: /home/cvs/src/usr.sbin/tcpdump/print-dhcp6.c,v 1.1 2000/04/26 21:35:39 jakob Exp $"; + "@(#) $Header: /home/cvs/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 */ diff --git a/usr.sbin/tcpdump/print-ospf6.c b/usr.sbin/tcpdump/print-ospf6.c index 2b55cd2a543..7a4544e5eaf 100644 --- a/usr.sbin/tcpdump/print-ospf6.c +++ b/usr.sbin/tcpdump/print-ospf6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-ospf6.c,v 1.1 2000/04/26 21:35:42 jakob Exp $ */ +/* $OpenBSD: print-ospf6.c,v 1.2 2000/05/05 12:32:09 jakob Exp $ */ /* @@ -26,9 +26,11 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-ospf6.c,v 1.1 2000/04/26 21:35:42 jakob Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-ospf6.c,v 1.2 2000/05/05 12:32:09 jakob Exp $ (LBL)"; #endif +#ifdef INET6 + #include <sys/param.h> #include <sys/time.h> #include <sys/socket.h> @@ -665,3 +667,5 @@ ospf6_print(register const u_char *bp, register u_int length) trunc: fputs(tstr, stdout); } + +#endif /* INET6 */ |