git: 55dedee5a237 - stable/13 - routing: fix non-debug build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 21:25:12 UTC
The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=55dedee5a237151e71995ed6f51fb0ab47de2799 commit 55dedee5a237151e71995ed6f51fb0ab47de2799 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2022-08-11 14:12:59 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2023-01-13 21:18:27 +0000 routing: fix non-debug build Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 69077c81e5949b8107b74b220dc0fbd20a84faf4) --- 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 35c817cb93c5..a2ac05d2afc8 100644 --- a/sys/net/route/route_ctl.c +++ b/sys/net/route/route_ctl.c @@ -609,7 +609,7 @@ int rib_copy_route(struct rtentry *rt, const struct route_nhop_data *rnd_src, struct rib_head *rh_dst, struct rib_cmd_info *rc) { - struct nhop_object *nh_src = rnd_src->rnd_nhop; + struct nhop_object __diagused *nh_src = rnd_src->rnd_nhop; int error; MPASS((nh_src->nh_flags & NHF_MULTIPATH) == 0);