git: a722ef2ac109 - stable/13 - routing: fix build without ROUTE_MPATH
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 21:25:07 UTC
The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=a722ef2ac10978965bd965244223266376040b34 commit a722ef2ac10978965bd965244223266376040b34 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2022-08-10 20:44:43 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2023-01-13 21:18:27 +0000 routing: fix build without ROUTE_MPATH MFC after: 1 month (cherry picked from commit 685866bbe13da2b9c5d108036c29f07a4c7cd04f) --- sys/net/route/route_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/route/route_ctl.c b/sys/net/route/route_ctl.c index 8418e8ddd1d5..34b00a0b82ce 100644 --- a/sys/net/route/route_ctl.c +++ b/sys/net/route/route_ctl.c @@ -920,11 +920,11 @@ rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt, int prio, rib_filter_f_t *cb, void *cbdata, struct rib_cmd_info *rc) { struct nhop_object *nh = rt->rt_nhop; - struct route_nhop_data rnd; #ifdef ROUTE_MPATH if (NH_IS_NHGRP(nh)) { struct nhgrp_object *nhg = (struct nhgrp_object *)nh; + struct route_nhop_data rnd; int error; if (cb == NULL)