diff options
| author | Daniel Walton <dwalton76@gmail.com> | 2017-06-21 10:30:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-21 10:30:29 -0400 |
| commit | c1a44e43672607a557d895cade446e776c11ce1f (patch) | |
| tree | aa6177c84e1c44542bb3a4e3b870a67afaaa2ef4 /lib/vty.c | |
| parent | bf468c3ca5d96af40ba4af4967ec3e48fdf76447 (diff) | |
| parent | 2ca02077216cc8d8bde6b6da279f9fd03e0ac04a (diff) | |
Merge branch 'master' into bgpd-ipv4-plus-label-misc3
Diffstat (limited to 'lib/vty.c')
| -rw-r--r-- | lib/vty.c | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -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; -} |
