aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_msc_ip.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-18 03:31:16 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-18 03:31:16 +0800
commit35e56453d2cb11847fe6b65752e1641987419773 (patch)
tree204dedf7090c0df7206a165d326deb27b7a0a90d /openbsc/src/bsc_msc_ip.c
parent4fcf80a59a58f920862eb6db5135e8d01e9b5e12 (diff)
msc: Add msc ip-tos NR option for the BSC
Allow to set the TOS field via the VTY interface. The SO_PRIORITY was not used as it has no effect on the packets being sent (in contrast to the documentation).
Diffstat (limited to 'openbsc/src/bsc_msc_ip.c')
-rw-r--r--openbsc/src/bsc_msc_ip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/bsc_msc_ip.c b/openbsc/src/bsc_msc_ip.c
index 0166a76c6..4d1c1a18d 100644
--- a/openbsc/src/bsc_msc_ip.c
+++ b/openbsc/src/bsc_msc_ip.c
@@ -1233,7 +1233,9 @@ int main(int argc, char **argv)
if (msc_address)
msc = msc_address;
- bsc_gsmnet->msc_con = bsc_msc_create(msc, bsc_gsmnet->msc_port);
+ bsc_gsmnet->msc_con = bsc_msc_create(msc,
+ bsc_gsmnet->msc_port,
+ bsc_gsmnet->msc_prio);
if (!bsc_gsmnet->msc_con) {
fprintf(stderr, "Creating a bsc_msc_connection failed.\n");
exit(1);