aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-22 17:06:34 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-22 17:24:06 +0100
commitc6bfa27b5e56845491c6d03406d4dba65d86095f (patch)
tree91432548eb6f4958d425e4c0ef9cd0a3f567f83c /src/main.c
parent0b316224829d172a76c1f6145568f8470b0a7dd6 (diff)
udp: Allow to create multiple links via UDP
This is the easiest way to support multiple links over UDP. Specify the number you want and they will be initiated. All these links will run via the same UDP port.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 38c1575..3ae4f72 100644
--- a/src/main.c
+++ b/src/main.c
@@ -633,6 +633,7 @@ int main(int argc, char **argv)
bsc.isup_opc = -1;
bsc.udp_port = 3456;
bsc.udp_ip = NULL;
+ bsc.udp_nr_links = 1;
bsc.src_port = 1313;
bsc.ni_ni = MTP_NI_NATION_NET;
bsc.ni_spare = 0;