summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2017-07-05 14:47:58 +0000
committervisa <visa@openbsd.org>2017-07-05 14:47:58 +0000
commit3f206a0edd6865bda9abb0793da903b332d87681 (patch)
tree24c9bad3352ed94d9254bd3e7d61af8aeabfcdd3
parentmake use of (f)lex -o option to create unique temporary files, so that (diff)
downloadwireguard-openbsd-3f206a0edd6865bda9abb0793da903b332d87681.tar.xz
wireguard-openbsd-3f206a0edd6865bda9abb0793da903b332d87681.zip
Fix RAMDISK build.
OK bluhm@
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 34373376978..ee74eeadc4c 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.314 2017/07/05 11:34:10 bluhm Exp $ */
+/* $OpenBSD: ip_input.c,v 1.315 2017/07/05 14:47:58 visa Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -717,9 +717,7 @@ ip_deliver(struct mbuf **mp, int *offp, int nxt, int af)
af = naf;
}
return nxt;
-#ifdef IPSEC
bad:
-#endif
m_freemp(mp);
return IPPROTO_DONE;
}