git: 69077c81e594 - main - routing: fix non-debug build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Aug 2022 14:13:17 UTC
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=69077c81e5949b8107b74b220dc0fbd20a84faf4 commit 69077c81e5949b8107b74b220dc0fbd20a84faf4 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2022-08-11 14:12:59 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2022-08-11 14:12:59 +0000 routing: fix non-debug build Sponsored by: Rubicon Communications, LLC ("Netgate") --- 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);