From 1dd176a53e5b1b3cafbebbf680c932a174d725f5 Mon Sep 17 00:00:00 2001 From: dlg Date: Tue, 23 Feb 2021 11:44:53 +0000 Subject: [PATCH] small adjustment of the deck chairs, no functional change. --- sys/net/if_bridge.c | 4 ++-- 1 file 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; } -- 2.20.1