commit | e6ac5ded50a3d46e250d0c07258e657a447210ee | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Apr 21 20:07:07 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:15 2010 +0800 |
tree | e209412681067bc079874af0255f3c6497953ad0 | |
parent | 7acf462a38a15f2e0a15cff6f675a121bd2bfd99 [diff] [blame] |
[nat] Fix the vty option... use the right argument.
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c index d8b6040..3abd586 100644 --- a/openbsc/src/nat/bsc_nat_vty.c +++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -325,7 +325,7 @@ { 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;