aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gb/gprs_bssgp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c
index 656c05ee..88ae49f8 100644
--- a/src/gb/gprs_bssgp_vty.c
+++ b/src/gb/gprs_bssgp_vty.c
@@ -135,7 +135,7 @@ DEFUN(show_bvc, show_bvc_cmd, "show bssgp nsei <0-65535> [stats]",
"The NSEI\n" "Include Statistics\n")
{
struct bssgp_bvc_ctx *bvc;
- uint16_t nsei = atoi(argv[1]);
+ uint16_t nsei = atoi(argv[0]);
int show_stats = 0;
if (argc >= 2)