diff options
author | 2000-08-04 00:26:58 +0000 | |
---|---|---|
committer | 2000-08-04 00:26:58 +0000 | |
commit | 70d36f83e010fb0fa6907d24d78b3b006ae0610c (patch) | |
tree | e1fefaf34693701dd901cc22269a0676d210ddc6 /sys/netinet/ip_ipip.c | |
parent | Worked out the logic (thanks to pt98asp@student.hk-r.se and (diff) | |
download | wireguard-openbsd-70d36f83e010fb0fa6907d24d78b3b006ae0610c.tar.xz wireguard-openbsd-70d36f83e010fb0fa6907d24d78b3b006ae0610c.zip |
One parenthesis too many.
Diffstat (limited to 'sys/netinet/ip_ipip.c')
-rw-r--r-- | sys/netinet/ip_ipip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_ipip.c b/sys/netinet/ip_ipip.c index a769d909147..4ca9f239a20 100644 --- a/sys/netinet/ip_ipip.c +++ b/sys/netinet/ip_ipip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipip.c,v 1.7 2000/08/04 00:26:07 angelos Exp $ */ +/* $OpenBSD: ip_ipip.c,v 1.8 2000/08/04 00:26:58 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -469,7 +469,7 @@ ipip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, m_copydata(m, sizeof(struct ip) + offsetof(struct ip, ip_off), sizeof(u_int16_t), (caddr_t) &ipo->ip_off); NTOHS(ipo->ip_off); - ipo->ip_off &= ~(IP_DF | IP_MF | IP_OFFMASK)); + ipo->ip_off &= ~(IP_DF | IP_MF | IP_OFFMASK); HTONS(ipo->ip_off); } #ifdef INET6 |