mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 17:44:38 +00:00
Merge pull request #11089 from opensourcerouting/build-gcc-11.2
build: fix new gcc 11.2 warnings
This commit is contained in:
commit
3f6ebf9b1d
@ -104,7 +104,7 @@ DEFPY(watch_nexthop_v6, watch_nexthop_v6_cmd,
|
||||
p.family = AF_INET6;
|
||||
} else {
|
||||
type_import = true;
|
||||
p = *(const struct prefix *)inhop;
|
||||
prefix_copy(&p, inhop);
|
||||
}
|
||||
|
||||
sharp_nh_tracker_get(&p);
|
||||
@ -149,7 +149,7 @@ DEFPY(watch_nexthop_v4, watch_nexthop_v4_cmd,
|
||||
}
|
||||
else {
|
||||
type_import = true;
|
||||
p = *(const struct prefix *)inhop;
|
||||
prefix_copy(&p, inhop);
|
||||
}
|
||||
|
||||
sharp_nh_tracker_get(&p);
|
||||
|
Loading…
Reference in New Issue
Block a user