From: Don Slice Date: Thu, 30 Aug 2018 17:15:47 +0000 (+0000) Subject: ospfd: fix more warnings with the bgp ospf json commit X-Git-Tag: frr-7.1-dev~403^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=874f58d87b731e2e61ce0479fe9de4489117ae27;p=mirror%2Ffrr.git ospfd: fix more warnings with the bgp ospf json commit Signed-off-by: Don Slice --- diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index f596662aa6..4423621f34 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -3262,6 +3262,7 @@ DEFUN (show_ip_ospf, /* vrf input is provided could be all or specific vrf*/ if (vrf_name) { bool ospf_output = FALSE; + use_vrf = 1; if (all_vrf) { @@ -6339,6 +6340,7 @@ DEFUN (show_ip_ospf_database_max, if (vrf_name) { bool ospf_output = FALSE; + use_vrf = 1; if (all_vrf) { @@ -6579,6 +6581,7 @@ DEFUN (show_ip_ospf_instance_database_type_adv_router, if (vrf_name) { bool ospf_output = FALSE; + use_vrf = 1; if (all_vrf) { @@ -9347,6 +9350,7 @@ DEFUN (show_ip_ospf_border_routers, if (vrf_name) { bool ospf_output = FALSE; + use_vrf = 1; if (all_vrf) { @@ -9490,6 +9494,7 @@ DEFUN (show_ip_ospf_route, /* vrf input is provided could be all or specific vrf*/ if (vrf_name) { bool ospf_output = FALSE; + use_vrf = 1; if (all_vrf) {