diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-06-08 18:56:13 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-06-08 18:56:13 +0000 |
commit | 559986275abd3aa7ef793618553a2485c4d762b7 (patch) | |
tree | fb0a98df2d68d095e66f5e6d0c92cfef8adac054 /sys/netinet | |
parent | a0a75f1cffdf769d9451ca829da41ae1bb5af4ba (diff) |
When adding PMTU related routes to the table inherit the priority form the
parent instead of using RTP_DEFAULT. OK henning@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index e656ecdbc05..d5be54b33ca 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_icmp.c,v 1.80 2008/05/09 15:48:59 claudio Exp $ */ +/* $OpenBSD: ip_icmp.c,v 1.81 2008/06/08 18:56:12 claudio Exp $ */ /* $NetBSD: ip_icmp.c,v 1.19 1996/02/13 23:42:22 christos Exp $ */ /* @@ -876,7 +876,7 @@ icmp_mtudisc_clone(struct sockaddr *dst) info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; info.rti_flags = RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC; - error = rtrequest1(RTM_ADD, &info, RTP_DEFAULT, &nrt, 0); + error = rtrequest1(RTM_ADD, &info, rt->rt_priority, &nrt, 0); if (error) { rtfree(rt); return (NULL); |