summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index 418477efea..33481c32f8 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -874,7 +874,7 @@ DEFUN_NOSH (no_vrf,
return CMD_WARNING;
}
- if (CHECK_FLAG (vrfp->status, ZEBRA_VRF_ACTIVE))
+ if (CHECK_FLAG (vrfp->status, VRF_ACTIVE))
{
vty_out (vty, "%% Only inactive VRFs can be deleted%s",
VTY_NEWLINE);