summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-04-13 10:22:59 +0000
committerbz <bz@FreeBSD.org>2008-04-13 10:22:59 +0000
commitbf956f37426110d1b25242e1722b8439d98766f6 (patch)
tree270303d9b3cc69ae32db1d2ef45bda1606492059 /sys/net/route.c
parentb612c0d58d0d1f801204c5207700978b731b7d02 (diff)
downloadFreeBSD-src-bf956f37426110d1b25242e1722b8439d98766f6.zip
FreeBSD-src-bf956f37426110d1b25242e1722b8439d98766f6.tar.gz
Fix the build in case RADIX_MPATH is not defined.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index c41af97..d55c2f8 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
OpenPOWER on IntegriCloud