]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: fix more warnings with the bgp ospf json commit
authorDon Slice <dslice@cumulusnetworks.com>
Thu, 30 Aug 2018 17:15:47 +0000 (17:15 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 30 Aug 2018 17:24:57 +0000 (17:24 +0000)
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
ospfd/ospf_vty.c

index f596662aa6945ba1f9c3bfafcfccc57bca0c264a..4423621f34dcc7fdfa3075e573dc1b601a8e933a 100644 (file)
@@ -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) {