aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/input/ipaccess.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-23 22:47:53 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-23 22:47:53 +0100
commit87ed5cd4ad0795d6d63b017e8811cc4bef646ec4 (patch)
treeef47da0dce43cdee9fee2532a1ec0f411a8fce43 /openbsc/src/input/ipaccess.c
parent2ca7c3142989606590b45f661224a5b175f85dd4 (diff)
introduce #defines for ip.access RSL and OML UDP ports
Diffstat (limited to 'openbsc/src/input/ipaccess.c')
-rw-r--r--openbsc/src/input/ipaccess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c
index 6bd501df1..bbfb091e7 100644
--- a/openbsc/src/input/ipaccess.c
+++ b/openbsc/src/input/ipaccess.c
@@ -657,12 +657,12 @@ int ipaccess_setup(struct gsm_network *gsmnet)
e1h->gsmnet = gsmnet;
/* Listen for OML connections */
- ret = make_sock(&e1h->listen_fd, 3002, listen_fd_cb);
+ ret = make_sock(&e1h->listen_fd, IPA_TCP_PORT_OML, listen_fd_cb);
if (ret < 0)
return ret;
/* Listen for RSL connections */
- ret = make_sock(&e1h->rsl_listen_fd, 3003, rsl_listen_fd_cb);
+ ret = make_sock(&e1h->rsl_listen_fd, IPA_TCP_PORT_RSL, rsl_listen_fd_cb);
return ret;
}