diff options
author | bluhm <bluhm@openbsd.org> | 2016-10-25 16:31:08 +0000 |
---|---|---|
committer | bluhm <bluhm@openbsd.org> | 2016-10-25 16:31:08 +0000 |
commit | d9378229e975069960400532fcd51940bebfabe4 (patch) | |
tree | 3f0c1894f4238f13bdd7802e50e31296f2ce3c20 /sys/dev/usb/if_umb.c | |
parent | Add missing OpenBSD keyword in the first line. (diff) | |
download | wireguard-openbsd-d9378229e975069960400532fcd51940bebfabe4.tar.xz wireguard-openbsd-d9378229e975069960400532fcd51940bebfabe4.zip |
Make kernel without INET6 compile again.
OK mikeb@
Diffstat (limited to 'sys/dev/usb/if_umb.c')
-rw-r--r-- | sys/dev/usb/if_umb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/if_umb.c b/sys/dev/usb/if_umb.c index fdfe24e7d70..091c702ce0b 100644 --- a/sys/dev/usb/if_umb.c +++ b/sys/dev/usb/if_umb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_umb.c,v 1.3 2016/06/20 07:33:34 stsp Exp $ */ +/* $OpenBSD: if_umb.c,v 1.4 2016/10/25 16:31:08 bluhm Exp $ */ /* * Copyright (c) 2016 genua mbH @@ -717,9 +717,11 @@ umb_input(struct ifnet *ifp, struct mbuf *m, void *cookie) case 4: inq = &ipintrq; break; +#ifdef INET6 case 6: inq = &ip6intrq; break; +#endif /* INET6 */ default: ifp->if_ierrors++; DPRINTFN(4, "%s: dropping packet with bad IP version (%d)\n", |