Author: melifaro Date: Sat Oct 3 14:37:54 2020 New Revision: 366398 URL: https://svnweb.freebsd.org/changeset/base/366398
Log: Remove ROUTE_MPATH-related warnings introduced in r366390. Reported by: mjg Modified: head/sys/net/route/route_ctl.c head/sys/net/rtsock.c Modified: head/sys/net/route/route_ctl.c ============================================================================== --- head/sys/net/route/route_ctl.c Sat Oct 3 14:01:20 2020 (r366397) +++ head/sys/net/route/route_ctl.c Sat Oct 3 14:37:54 2020 (r366398) @@ -91,7 +91,9 @@ static void rib_notify(struct rib_head *rnh, enum rib_ struct rib_cmd_info *rc); static void destroy_subscription_epoch(epoch_context_t ctx); +#ifdef ROUTE_MPATH static bool rib_can_multipath(struct rib_head *rh); +#endif /* Per-vnet multipath routing configuration */ SYSCTL_DECL(_net_route); Modified: head/sys/net/rtsock.c ============================================================================== --- head/sys/net/rtsock.c Sat Oct 3 14:01:20 2020 (r366397) +++ head/sys/net/rtsock.c Sat Oct 3 14:37:54 2020 (r366398) @@ -847,6 +847,7 @@ update_rtm_from_rc(struct rt_addrinfo *info, struct rt return (0); } +#ifdef ROUTE_MPATH static void save_del_notification(struct rib_cmd_info *rc, void *_cbdata) { @@ -864,6 +865,7 @@ save_add_notification(struct rib_cmd_info *rc, void *_ if (rc->rc_cmd == RTM_ADD) *rc_new = *rc; } +#endif /*ARGSUSED*/ static int _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"