summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-07 11:15:31 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-08 13:14:00 -0400
commiteaa9cafdce61118d1c0ec9062716cc8113f6ab15 (patch)
tree7ba2cb1b2bcea1ca52db0d55693fe785248cfa90 /lib/if.c
parente768b96bf3a4d27ccb27c82380a676ace69a2c1d (diff)
lib: Refactor XX_name_len away
We had two functions XXX_name and XXX_name_len that both did the same thing. Remove the XXX_rename_len functions. Ticket: CM-10338 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Radhika Mahankali <radhika@cumulusnetworks.com>
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 420215d8b7..418477efea 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -849,7 +849,7 @@ DEFUN (vrf,
return CMD_WARNING;
}
- vrfp = vrf_get_by_name_len (argv[0], sl);
+ vrfp = vrf_get_by_name (argv[0]);
vty->index = vrfp;
vty->node = VRF_NODE;