From 5f8dfdce49613c28aa66899d368a8caca494a209 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Tue, 22 Oct 2013 00:50:53 +0000 Subject: [PATCH] Make netback compile without INET support in the kernel. This shuld have been a problem since r230587. Not exactly sure why it was not detected the last weeks with the tinderbox. I would assume r255744 is what started to cause it. MFC after: 1 week --- sys/dev/xen/netback/netback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c index 8f0286c31f0..d962e057da3 100644 --- a/sys/dev/xen/netback/netback.c +++ b/sys/dev/xen/netback/netback.c @@ -2191,8 +2191,8 @@ static int xnb_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { struct xnb_softc *xnb = ifp->if_softc; -#ifdef INET struct ifreq *ifr = (struct ifreq*) data; +#ifdef INET struct ifaddr *ifa = (struct ifaddr*)data; #endif int error = 0;