summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton76@gmail.com>2017-06-21 10:30:29 -0400
committerGitHub <noreply@github.com>2017-06-21 10:30:29 -0400
commitc1a44e43672607a557d895cade446e776c11ce1f (patch)
treeaa6177c84e1c44542bb3a4e3b870a67afaaa2ef4 /lib/vty.c
parentbf468c3ca5d96af40ba4af4967ec3e48fdf76447 (diff)
parent2ca02077216cc8d8bde6b6da279f9fd03e0ac04a (diff)
Merge branch 'master' into bgpd-ipv4-plus-label-misc3
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/vty.c b/lib/vty.c
index c500a45194..19f9223d37 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -3151,29 +3151,3 @@ vty_terminate (void)
Vvty_serv_thread = NULL;
}
}
-
-/* Utility functions to get arguments from commands generated
- by the xml2cli.pl script. */
-const char *
-vty_get_arg_value (struct vty_arg *args[], const char *arg)
-{
- while (*args)
- {
- if (strcmp ((*args)->name, arg) == 0)
- return (*args)->value;
- args++;
- }
- return NULL;
-}
-
-struct vty_arg *
-vty_get_arg (struct vty_arg *args[], const char *arg)
-{
- while (*args)
- {
- if (strcmp ((*args)->name, arg) == 0)
- return *args;
- args++;
- }
- return NULL;
-}