Fix the build in case RADIX_MPATH is not defined.

This commit is contained in:
Bjoern A. Zeeb 2008-04-13 10:22:59 +00:00
parent 92226c92f3
commit ea9cd9f200
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178176

View File

@ -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 @@ rtrequest1(int req, struct rt_addrinfo *info, struct rtentry **ret_nrt)
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