diff options
author | 2003-07-28 00:58:08 +0000 | |
---|---|---|
committer | 2003-07-28 00:58:08 +0000 | |
commit | 72817f222f5d2d6e50ccc072392ec380f09f71d0 (patch) | |
tree | 08d77ab03a6f1c7c235da81ea5b6dd6e17d8bbab | |
parent | add _syslogd pseudo-account; ok deraadt@ (diff) | |
download | wireguard-openbsd-72817f222f5d2d6e50ccc072392ec380f09f71d0.tar.xz wireguard-openbsd-72817f222f5d2d6e50ccc072392ec380f09f71d0.zip |
typo. from cedric
-rw-r--r-- | sys/net/if_bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index feb57b829b8..72b39ca21f0 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.122 2003/07/25 10:36:34 itojun Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.123 2003/07/28 00:58:08 itojun Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -2634,7 +2634,7 @@ bridge_send_icmp_err(struct bridge_softc *sc, struct ifnet *ifp, m->m_len += hlen; ip->ip_v = IPVERSION; - ip->ip_off &= ntohs(IP_DF); + ip->ip_off &= htons(IP_DF); ip->ip_id = htons(ip_randomid()); ip->ip_ttl = MAXTTL; ip->ip_sum = 0; |