diff options
author | 2015-08-31 07:17:12 +0000 | |
---|---|---|
committer | 2015-08-31 07:17:12 +0000 | |
commit | 7ba9a81653a31d09a511964db38cb9722c365f62 (patch) | |
tree | 8b8f2e4d235780ef60c01f9f09c68ea91b4889b1 /sys/netinet/ip_output.c | |
parent | Use PR_WAITOK to indicate that pools are not used in interrupt context (diff) | |
download | wireguard-openbsd-7ba9a81653a31d09a511964db38cb9722c365f62.tar.xz wireguard-openbsd-7ba9a81653a31d09a511964db38cb9722c365f62.zip |
`encif' should only be used under #ifdef NPF.
Reported by jsg@, ok deraadt@
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index ad99e2f039d..70c45917bc5 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_output.c,v 1.286 2015/07/16 21:14:21 mpi Exp $ */ +/* $OpenBSD: ip_output.c,v 1.287 2015/08/31 07:17:12 mpi Exp $ */ /* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */ /* @@ -523,8 +523,8 @@ sendit: * Until now the change was not reconsidered. * What's the behaviour? */ -#endif in_proto_cksum_out(m, encif); +#endif /* Check if we are allowed to fragment */ if (ip_mtudisc && (ip->ip_off & htons(IP_DF)) && tdb->tdb_mtu && |