diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-03-26 21:56:05 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-03-26 21:56:05 +0000 |
commit | a97a3837acdb017ab0dd069b3a34f1c9042d1315 (patch) | |
tree | 6f644a3fca55671bae40f48cfc675514c40c5f76 /sys/netinet/in_pcb.c | |
parent | e3346862b0a21aa0b288a7639ea4909b0ea2b766 (diff) |
Always include the route priority in routing messages.
From Florian Riehm, ok bluhm@
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |