diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2017-06-16 15:53:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-16 15:53:50 -0400 |
| commit | 430000deeed77491c249b81d1a11512e6ff3f4e7 (patch) | |
| tree | e978fa4b3fc40d699acb2be706a049383711a596 /lib/vty.c | |
| parent | 62e4232010330e515630399838288f6281d04de6 (diff) | |
| parent | 180fc2cd704708442d3a7fcf555dcbc1a5f1831f (diff) | |
Merge pull request #702 from opensourcerouting/ldpd-cli-rewrite
ldpd: convert cli and get rid of the xml interface
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; -} |
