diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-21 20:07:07 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:15 +0800 |
commit | 834f1df21e5d48b36882aab1e695c75c435b9332 (patch) | |
tree | e209412681067bc079874af0255f3c6497953ad0 /openbsc/src/nat/bsc_nat_vty.c | |
parent | 62e5843a61ffde9788513447cec6909c3466c685 (diff) |
[nat] Fix the vty option... use the right argument.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_vty.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat_vty.c | 2 |
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 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; |