From ae81ff95eaf480b658a09431e1a12b5262246224 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 21 Apr 2010 20:07:07 +0800 Subject: [nat] Fix the vty option... use the right argument. --- openbsc/src/nat/bsc_nat_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c index d8b6040c7..3abd58678 100644 --- a/openbsc/src/nat/bsc_nat_vty.c +++ b/openbsc/src/nat/bsc_nat_vty.c @@ -325,7 +325,7 @@ DEFUN(cfg_bsc_paging, { struct bsc_config *conf = vty->index; - if (strcmp("1", argv[1]) == 0) + if (strcmp("1", argv[0]) == 0) conf->forbid_paging = 1; else conf->forbid_paging = 0; -- cgit v1.2.3