diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-29 13:32:34 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-29 14:15:05 +0100 |
commit | aed3273f38be072c50cbb376aa534cab765bed3f (patch) | |
tree | 45f6b627d2965d9fffe286e3b38613351d2b1b44 /bgpd/rfp-example | |
parent | Merge branch 'stable/2.0' (diff) | |
download | frr-aed3273f38be072c50cbb376aa534cab765bed3f.tar.xz frr-aed3273f38be072c50cbb376aa534cab765bed3f.zip |
bgpd/rfpapi: update for new CLI
May contain bugs/mistakes.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/rfp-example')
-rw-r--r-- | bgpd/rfp-example/librfp/rfp_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/rfp-example/librfp/rfp_example.c b/bgpd/rfp-example/librfp/rfp_example.c index e8b546ddf..614e2464a 100644 --- a/bgpd/rfp-example/librfp/rfp_example.c +++ b/bgpd/rfp-example/librfp/rfp_example.c @@ -48,7 +48,7 @@ DEFUN (rfp_example_config_value, rfi = rfapi_get_rfp_start_val (vty->index); /* index=bgp for BGP_NODE */ assert (rfi != NULL); - VTY_GET_INTEGER ("Example value", value, argv[0]); + VTY_GET_INTEGER ("Example value", value, argv[2]->arg); if (rfi) rfi->config_var = value; return CMD_SUCCESS; |