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
This commit is contained in:
Bjoern A. Zeeb 2013-10-22 00:50:53 +00:00
parent 4971c4adad
commit 5f8dfdce49

View File

@ -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;