diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 17:06:34 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 17:24:06 +0100 |
commit | c6bfa27b5e56845491c6d03406d4dba65d86095f (patch) | |
tree | 91432548eb6f4958d425e4c0ef9cd0a3f567f83c /src/main_stp.c | |
parent | 0b316224829d172a76c1f6145568f8470b0a7dd6 (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_stp.c')
-rw-r--r-- | src/main_stp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main_stp.c b/src/main_stp.c index 328eabe..a957478 100644 --- a/src/main_stp.c +++ b/src/main_stp.c @@ -194,6 +194,7 @@ int main(int argc, char **argv) bsc.src_port = 1313; bsc.ni_ni = MTP_NI_NATION_NET; bsc.ni_spare = 0; + bsc.udp_nr_links = 1; mtp_link_set_init(); thread_init(); |