summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mpe.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2015-12-02 13:29:25 +0000
committerclaudio <claudio@openbsd.org>2015-12-02 13:29:25 +0000
commit12d3c25ce67843c3bd1fecdb30de4e5fb2cc0b91 (patch)
tree2f2bd0fc404cbf4cbfe2e6ab09733214e6bedf87 /sys/net/if_mpe.c
parentremove unimplemented PF_KEY algorithms; ok sthen@ mpi@ mikeb@ (diff)
downloadwireguard-openbsd-12d3c25ce67843c3bd1fecdb30de4e5fb2cc0b91.tar.xz
wireguard-openbsd-12d3c25ce67843c3bd1fecdb30de4e5fb2cc0b91.zip
Kill the RT_REPORT flag to rtalloc() and stop sending RTM_MISS messages
for failed route lookups. This is something that was maybe useful in the 90is but in this modern times it is just annoying and nothing expect it anyway. OK mpi@, sthen@
Diffstat (limited to 'sys/net/if_mpe.c')
-rw-r--r--sys/net/if_mpe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_mpe.c b/sys/net/if_mpe.c
index 508a549066c..4078d3d266f 100644
--- a/sys/net/if_mpe.c
+++ b/sys/net/if_mpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mpe.c,v 1.50 2015/11/06 11:45:42 mpi Exp $ */
+/* $OpenBSD: if_mpe.c,v 1.51 2015/12/02 13:29:25 claudio Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -172,7 +172,7 @@ mpestart(struct ifnet *ifp0)
continue;
}
- rt = rtalloc(sa, RT_REPORT|RT_RESOLVE, 0);
+ rt = rtalloc(sa, RT_RESOLVE, 0);
if (!rtisvalid(rt)) {
m_freem(m);
rtfree(rt);