summaryrefslogtreecommitdiffstats
path: root/bgpd/rfp-example/librfp/rfp_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/rfp-example/librfp/rfp_example.c')
-rw-r--r--bgpd/rfp-example/librfp/rfp_example.c2
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;