From c3eef61146cb2330a9c9a37c1b15e913f253ff06 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 25 Oct 2015 21:58:04 +0000 Subject: [PATCH] unbreak tree for ramdisks without INET6 --- sys/net/if.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/net/if.c b/sys/net/if.c index c354a905dd1..66cc8b9e19f 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.397 2015/10/25 13:52:45 mpi Exp $ */ +/* $OpenBSD: if.c,v 1.398 2015/10/25 21:58:04 deraadt Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -2511,7 +2511,9 @@ ifa_print_all(void) void ifnewlladdr(struct ifnet *ifp) { +#ifdef INET6 struct ifaddr *ifa; +#endif struct ifreq ifrq; short up; int s; -- 2.20.1