From 0202dfef0590573ade056adf1030a87ebc4cd0a6 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Thu, 14 Feb 2019 03:29:47 +0000 Subject: the rdomain for the mpls stuff should still be hardcoded to 0 in mpw. it was using ifp->if_rdomain for the rtalloc of the mpls encapsulated tunnel in mpw_start. --- sys/net/if_mpw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/net/if_mpw.c b/sys/net/if_mpw.c index b51d46a2985..53f5803932c 100644 --- a/sys/net/if_mpw.c +++ b/sys/net/if_mpw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mpw.c,v 1.35 2019/02/14 01:21:29 dlg Exp $ */ +/* $OpenBSD: if_mpw.c,v 1.36 2019/02/14 03:29:46 dlg Exp $ */ /* * Copyright (c) 2015 Rafael Zalamena @@ -355,7 +355,7 @@ mpw_start(struct ifnet *ifp) return; } - rt = rtalloc(sstosa(&sc->sc_nexthop), RT_RESOLVE, ifp->if_rdomain); + rt = rtalloc(sstosa(&sc->sc_nexthop), RT_RESOLVE, 0); if (!rtisvalid(rt)) { IFQ_PURGE(&ifp->if_snd); goto rtfree; -- cgit v1.2.3