diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2023-10-03 10:22:11 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2023-10-03 10:22:11 +0000 |
commit | a496b8d7b30b31ae28757c510b53ba5550130c19 (patch) | |
tree | 38a29d2e9378364c0b8edba3785a74549fbeebab /sys | |
parent | 56c6cb1e1d83c2a77a7c480c5da21b5d0ee7399f (diff) |
Reinstate setting rtableid based on rdomain for pfsync,
lost during the rewrite, reported by Mark Patruck.
ok phessler claudio sashan deraadt
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_pfsync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index 0a067bc547f..93d35ab27b0 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.321 2023/09/16 09:33:27 mpi Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.322 2023/10/03 10:22:10 sthen Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -1537,6 +1537,7 @@ pfsync_sendout(struct pfsync_softc *sc, struct mbuf *m) imo.imo_ifidx = sc->sc_sync_ifidx; imo.imo_ttl = PFSYNC_DFLTTL; imo.imo_loop = 0; + m->m_pkthdr.ph_rtableid = sc->sc_if.if_rdomain; if (ip_output(m, NULL, NULL, IP_RAWOUTPUT, &imo, NULL, 0) == 0) { counters_pkt(sc->sc_if.if_counters, ifc_opackets, |