mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
ospf6d: fix SA warning
Fix an SA issue in ospf6_interface.c. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
09209b4858
commit
f6d11a9bf6
@ -1031,7 +1031,10 @@ static int ospf6_interface_show_traffic(struct vty *vty,
|
|||||||
struct vrf *vrf = NULL;
|
struct vrf *vrf = NULL;
|
||||||
struct ospf6_interface *oi = NULL;
|
struct ospf6_interface *oi = NULL;
|
||||||
|
|
||||||
|
if (intf_ifp)
|
||||||
vrf = vrf_lookup_by_id(intf_ifp->vrf_id);
|
vrf = vrf_lookup_by_id(intf_ifp->vrf_id);
|
||||||
|
else
|
||||||
|
vrf = vrf_lookup_by_id(VRF_DEFAULT);
|
||||||
|
|
||||||
if (!display_once) {
|
if (!display_once) {
|
||||||
vty_out(vty, "\n");
|
vty_out(vty, "\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user