From 5023c1b4ee8a7f34e51ecae1be77e1409258af96 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 26 Feb 2007 10:16:53 +0000 Subject: Fix a likely bug by adding what appears to be a missing break statement in the IPX over IP configuration ioctl: when changing the flags on a tunnel interface, return the generated error rather than always EINVAL. --- sys/netipx/ipx_ip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/netipx') diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c index 2432d27..618e5b7 100644 --- a/sys/netipx/ipx_ip.c +++ b/sys/netipx/ipx_ip.c @@ -186,6 +186,7 @@ ipxipioctl(struct ifnet *ifp, u_long cmd, caddr_t data) ifr = (struct ifreq *)data; if ((ifr->ifr_flags & IFF_UP) == 0) error = ipxip_free(ifp); + break; default: error = EINVAL; -- cgit v1.1