From a97a3837acdb017ab0dd069b3a34f1c9042d1315 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Sat, 26 Mar 2016 21:56:05 +0000 Subject: Always include the route priority in routing messages. From Florian Riehm, ok bluhm@ --- sys/netinet/in_pcb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/netinet/in_pcb.c') diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index f485fa39d1c..013b13633e1 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.197 2016/03/23 15:50:36 vgross Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.198 2016/03/26 21:56:04 mpi Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -692,8 +692,8 @@ in_losing(struct inpcb *inp) info.rti_info[RTAX_DST] = &inp->inp_route.ro_dst; info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; info.rti_info[RTAX_NETMASK] = rt_plen2mask(rt, &sa_mask); - rt_missmsg(RTM_LOSING, &info, rt->rt_flags, rt->rt_ifidx, 0, - inp->inp_rtableid); + rt_missmsg(RTM_LOSING, &info, rt->rt_flags, rt->rt_priority, + rt->rt_ifidx, 0, inp->inp_rtableid); if (rt->rt_flags & RTF_DYNAMIC) (void)rtrequest(RTM_DELETE, &info, rt->rt_priority, NULL, inp->inp_rtableid); -- cgit v1.2.3