diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-12-02 13:29:27 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-12-02 13:29:27 +0000 |
commit | 829c3f1d9e6988fa2c4497774dcb2330bc439d45 (patch) | |
tree | 979514c43c1b84f23454d53733e3462eed85e9eb /sys/netinet6/icmp6.c | |
parent | 62e621509c602e1241ab5aa91d796d395e2527d7 (diff) |
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/netinet6/icmp6.c')
-rw-r--r-- | sys/netinet6/icmp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index ec25dbc1b4f..ff4ce7bf95f 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icmp6.c,v 1.179 2015/12/01 21:26:43 mpi Exp $ */ +/* $OpenBSD: icmp6.c,v 1.180 2015/12/02 13:29:26 claudio Exp $ */ /* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */ /* @@ -1912,7 +1912,7 @@ icmp6_mtudisc_clone(struct sockaddr *dst, u_int rdomain) struct rtentry *rt; int error; - rt = rtalloc(dst, RT_REPORT|RT_RESOLVE, rdomain); + rt = rtalloc(dst, RT_RESOLVE, rdomain); if (rt == NULL) return NULL; |