summaryrefslogtreecommitdiff
path: root/bgpd/rfapi/vnc_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/rfapi/vnc_debug.c')
-rw-r--r--bgpd/rfapi/vnc_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/rfapi/vnc_debug.c b/bgpd/rfapi/vnc_debug.c
index cc27277a72..27c81d46d6 100644
--- a/bgpd/rfapi/vnc_debug.c
+++ b/bgpd/rfapi/vnc_debug.c
@@ -69,7 +69,7 @@ DEFUN (debug_bgp_vnc,
for (i = 0; i < (sizeof(vncdebug) / sizeof(struct vnc_debug)); ++i)
{
- if (!strcmp(argv[3]->arg, vncdebug[i].name))
+ if (strmatch(argv[3]->text, vncdebug[i].name))
{
if (vty->node == CONFIG_NODE)
{
@@ -104,11 +104,11 @@ DEFUN (no_debug_bgp_vnc,
{
size_t i;
- if (!strcmp(argv[0]->arg, "no"))
+ if (strmatch(argv[0]->text, "no"))
argc--, argv++;
for (i = 0; i < (sizeof(vncdebug) / sizeof(struct vnc_debug)); ++i)
{
- if (!strcmp(argv[3]->arg, vncdebug[i].name))
+ if (strmatch(argv[3]->text, vncdebug[i].name))
{
if (vty->node == CONFIG_NODE)
{