aboutsummaryrefslogtreecommitdiffstats
path: root/src/bsc.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-22 20:57:08 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-23 15:25:35 +0100
commit7176030e02ca59d5b4ee015f24ee2bf733eeed8e (patch)
treeeed6a2bb6bd74d365a09e77cbdc875bfcac689ed /src/bsc.c
parent2917644d503b706f0df5cf7228fc284a79436e31 (diff)
vty: Add all mighty new vty interface for osmo-stp
This new interface allows to have multiple linksets, msc connections and ways to connect those in one instance of the osmo-stp. Forbid to reset linksets without an app.
Diffstat (limited to 'src/bsc.c')
-rw-r--r--src/bsc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bsc.c b/src/bsc.c
index c4a955a..98c2e8d 100644
--- a/src/bsc.c
+++ b/src/bsc.c
@@ -71,10 +71,13 @@ struct bsc_data *bsc_data_create()
bsc->udp_ip = NULL;
bsc->udp_nr_links = 1;
- bsc->src_port = 1313;
+ bsc->udp_src_port = 1313;
bsc->pcap_fd = -1;
bsc->udp_reset_timeout = 180;
+ /* m2ua code */
+ bsc->m2ua_src_port = 2904;
+
return bsc;
}