summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2014-01-19 11:20:46 +0000
committerclaudio <claudio@openbsd.org>2014-01-19 11:20:46 +0000
commitba004bf7d9f2aec697632b936f575587a217f83b (patch)
tree5b60bcbff87777836e5866f71efca55e99193037
parentUsually, you don't want macros in the .Nd line, so remove instances of .Tn (diff)
downloadwireguard-openbsd-ba004bf7d9f2aec697632b936f575587a217f83b.tar.xz
wireguard-openbsd-ba004bf7d9f2aec697632b936f575587a217f83b.zip
RTF_MPATH is a flag userland needs to be able to pass in since it is used
to set multipath routes. So since more then 2 month multipath was broken.
-rw-r--r--sys/net/rtsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 3926fd83808..36e118b8e81 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.133 2014/01/10 14:29:08 tedu Exp $ */
+/* $OpenBSD: rtsock.c,v 1.134 2014/01/19 11:20:46 claudio Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -568,7 +568,7 @@ route_output(struct mbuf *m, ...)
/* make sure that kernel-only bits are not set */
rtm->rtm_priority &= RTP_MASK;
- rtm->rtm_flags &= ~(RTF_DONE|RTF_CLONED|RTF_MPATH);
+ rtm->rtm_flags &= ~(RTF_DONE|RTF_CLONED);
rtm->rtm_fmask &= RTF_FMASK;
if (rtm->rtm_priority != 0) {