commit | 1ff40d803daa09d7e5e7a9d451c5d4f99dbc367e | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Oct 13 20:22:36 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Oct 25 21:06:03 2010 +0200 |
tree | ab12a2835de5e3ba7ede47c8acbf8fa876b72312 | |
parent | 18625acce8c81c192083d09411bf8f5a7e868c50 [diff] [blame] |
nat: Implement accepting a USSD Provider connection, do authentication
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 515278c..fb4c150 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c
@@ -1279,6 +1279,12 @@ exit(1); } + rc = bsc_ussd_init(nat); + if (rc != 0) { + LOGP(DNAT, LOGL_ERROR, "Failed to bind the USSD socket.\n"); + exit(1); + } + signal(SIGABRT, &signal_handler); signal(SIGUSR1, &signal_handler); signal(SIGPIPE, SIG_IGN);