mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 19:43:47 +00:00
Merge pull request #14824 from opensourcerouting/ospf6-p2xp-fixuninit
ospf6d: fix uninitialized value warning in p2xp
This commit is contained in:
commit
f9012ed5cf
@ -755,7 +755,7 @@ DEFPY(ipv6_ospf6_p2xp_neigh_cost, ipv6_ospf6_p2xp_neigh_cost_cmd,
|
|||||||
VTY_DECLVAR_CONTEXT(interface, ifp);
|
VTY_DECLVAR_CONTEXT(interface, ifp);
|
||||||
struct ospf6_interface *oi = ifp->info;
|
struct ospf6_interface *oi = ifp->info;
|
||||||
struct ospf6_if_p2xp_neighcfg *p2xp_cfg;
|
struct ospf6_if_p2xp_neighcfg *p2xp_cfg;
|
||||||
uint32_t prev_cost;
|
uint32_t prev_cost = 0;
|
||||||
|
|
||||||
if (!oi) {
|
if (!oi) {
|
||||||
if (no)
|
if (no)
|
||||||
|
Loading…
Reference in New Issue
Block a user