diff options
Diffstat (limited to 'sys/net/route.c')
-rw-r--r-- | sys/net/route.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index f942a526616..8327614ca79 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.364 2017/07/30 18:18:08 florian Exp $ */ +/* $OpenBSD: route.c,v 1.365 2017/08/02 07:42:11 mpi Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -722,16 +722,6 @@ rtrequest_delete(struct rt_addrinfo *info, u_int8_t prio, struct ifnet *ifp, return (ESRCH); } - /* - * If we got multipath routes, we require users to specify - * a matching gateway. - */ - if ((rt->rt_flags & RTF_MPATH) && - info->rti_info[RTAX_GATEWAY] == NULL) { - rtfree(rt); - return (ESRCH); - } - #ifdef BFD if (ISSET(rt->rt_flags, RTF_BFD)) bfdclear(rt); |