vty: Add configuration for Gb DSCP and socket priority
While libosmogb / ns2 supports that natively in the VTY, the PCU
doesn't want to use the complexities of the full NS2 vty.
Change-Id: I7bfbad46582e65e5ad2ac0cc66545538bc632df8
Related: SYS#5427
diff --git a/src/gprs_bssgp_pcu.c b/src/gprs_bssgp_pcu.c
index 06e1814..f6114de 100644
--- a/src/gprs_bssgp_pcu.c
+++ b/src/gprs_bssgp_pcu.c
@@ -1060,6 +1060,11 @@
continue;
}
}
+
+ if (the_pcu->vty.ns_ip_dscp != -1)
+ gprs_ns2_ip_bind_set_dscp(bind[i], the_pcu->vty.ns_ip_dscp);
+ if (the_pcu->vty.ns_priority != -1)
+ gprs_ns2_ip_bind_set_priority(bind[i], the_pcu->vty.ns_priority);
}
binds |= 1 << i;