summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-02-14 03:29:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-02-14 03:29:47 +0000
commit0202dfef0590573ade056adf1030a87ebc4cd0a6 (patch)
tree9180c1ea7ad839c3d5971e60452b96108a2cdaf3
parentc376be26c6071a5ff78f4dc5b68fd0d50062d20c (diff)
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.
-rw-r--r--sys/net/if_mpw.c4
1 files changed, 2 insertions, 2 deletions
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 <rzalamena@openbsd.org>
@@ -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;