diff options
author | 2021-02-23 11:44:53 +0000 | |
---|---|---|
committer | 2021-02-23 11:44:53 +0000 | |
commit | 1dd176a53e5b1b3cafbebbf680c932a174d725f5 (patch) | |
tree | a7325fde7d5a65ed3ca3b5382a4b407075ca3732 | |
parent | fix up which link flags do what. (diff) | |
download | wireguard-openbsd-1dd176a53e5b1b3cafbebbf680c932a174d725f5.tar.xz wireguard-openbsd-1dd176a53e5b1b3cafbebbf680c932a174d725f5.zip |
small adjustment of the deck chairs, no functional change.
-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 3b526e6b74f..991f753fca8 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.350 2021/02/23 09:51:08 dlg Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.351 2021/02/23 11:44:53 dlg Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -1555,7 +1555,7 @@ bridge_ipsec(struct ifnet *ifp, struct ether_header *eh, int hassnap, case IPPROTO_IPCOMP: m_copydata(m, hlen + sizeof(u_int16_t), sizeof(u_int16_t), (caddr_t)&cpi); - spi = ntohl(htons(cpi)); + spi = htonl(ntohs(cpi)); break; } |