diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-19 15:09:09 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-19 15:09:09 +0200 |
commit | ff3bde8b49ef7cf530c535c99e5960dd5b8871cf (patch) | |
tree | c55e020e7a5160984360f2bac537fa7ded7e25dd /openbsc/src/gprs/sgsn_main.c | |
parent | 5540c4cbd32f9b69f72adb622c3635e841724131 (diff) |
[GPRS] NS: VTY: Move all local ip/port bind values into 'ns' node
This removes the requirement for gb_proxy and sgsn to have duplicate
vty parsing code
Diffstat (limited to 'openbsc/src/gprs/sgsn_main.c')
-rw-r--r-- | openbsc/src/gprs/sgsn_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c index 63ef9f5f1..195642859 100644 --- a/openbsc/src/gprs/sgsn_main.c +++ b/openbsc/src/gprs/sgsn_main.c @@ -175,8 +175,9 @@ int main(int argc, char **argv) if (rc) exit(2); - nsip_listen(sgsn_nsi, sgsn_inst.cfg.nsip_listen_ip, - sgsn_inst.cfg.nsip_listen_port); + rc = gprs_ns_nsip_listen(sgsn_nsi); + if (rc) + exit(2); while (1) { rc = bsc_select_main(0); |