From ea9cd9f200fe3792f5932c3ae6fda9e2c5c819f0 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sun, 13 Apr 2008 10:22:59 +0000 Subject: [PATCH] Fix the build in case RADIX_MPATH is not defined. --- sys/net/route.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/net/route.c b/sys/net/route.c index c41af97dbe59..d55c2f8ed4c0 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -763,9 +763,9 @@ rtrequest1(int req, struct rt_addrinfo *info, struct rtentry **ret_nrt) rt->rt_flags &= ~RTF_UP; goto deldone; /* done with the RTM_DELETE command */ } -#endif normal_rtdel: +#endif /* * Remove the item from the tree and return it. * Complain if it is not there and do no more processing. @@ -806,7 +806,9 @@ normal_rtdel: if ((ifa = rt->rt_ifa) && ifa->ifa_rtrequest) ifa->ifa_rtrequest(RTM_DELETE, rt, info); +#ifdef RADIX_MPATH deldone: +#endif /* * One more rtentry floating around that is not * linked to the routing table. rttrash will be decremented