aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-21 20:07:07 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-21 20:07:07 +0800
commitae81ff95eaf480b658a09431e1a12b5262246224 (patch)
tree9503455d6e98cfc1aa678c0d84dd20e645f3755d
parente5981edf6a8af5d58154f0ea09b831a3fd9fcaf7 (diff)
[nat] Fix the vty option... use the right argument.
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index d8b6040c..3abd5867 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;