summaryrefslogtreecommitdiff
path: root/sys/net/if_mpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_mpw.c')
-rw-r--r--sys/net/if_mpw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_mpw.c b/sys/net/if_mpw.c
index b612fdd56e1..19716a1d8d2 100644
--- a/sys/net/if_mpw.c
+++ b/sys/net/if_mpw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mpw.c,v 1.40 2019/02/20 00:16:31 dlg Exp $ */
+/* $OpenBSD: if_mpw.c,v 1.41 2019/02/20 00:17:35 dlg Exp $ */
/*
* Copyright (c) 2015 Rafael Zalamena <rzalamena@openbsd.org>
@@ -206,8 +206,8 @@ mpw_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
shim.shim_label = MPLS_LABEL2SHIM(shim.shim_label);
rw_enter_write(&sc->sc_lock);
if (sc->sc_smpls.smpls_label != shim.shim_label) {
- error = mpw_set_label(sc, shim.shim_label,
- sc->sc_rdomain);
+ error = mpw_set_label(sc, shim.shim_label,
+ sc->sc_rdomain);
}
rw_exit_write(&sc->sc_lock);
break;