From 67a4445675170c584be6b424e57b07b8c88b05b7 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 19 May 2014 10:14:58 +0200 Subject: gprs: Implement BSSGP MCC/MNC patching This adds a feature to patch the BSSGP MNC/MCC fields of messages going to and coming from the SGSN. To enable this feature, the gbproxy's VTY commands 'core-mobile-country-code' and/or 'core-mobile-network-code' must be used. All packets to the SGSN are patched to match the configured values. Packets received from the SGSN are patched to the corresponding values as last seen from the BSS side. Note that this will probably not work with a gbproxy used for several BSS simultaneously. Note also, that MCC/MNC contained in a LLC IE will not be patched. Ticket: OW#1185 Sponsored-by: On-Waves ehf --- openbsc/src/gprs/gb_proxy_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/gprs/gb_proxy_main.c') diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c index ff2e14b5c..1f140d48d 100644 --- a/openbsc/src/gprs/gb_proxy_main.c +++ b/openbsc/src/gprs/gb_proxy_main.c @@ -66,7 +66,7 @@ const char *openbsc_copyright = "There is NO WARRANTY, to the extent permitted by law.\r\n"; static char *config_file = "osmo_gbproxy.cfg"; -struct gbproxy_config gbcfg; +struct gbproxy_config gbcfg = {0}; static int daemonize = 0; /* Pointer to the SGSN peer */ -- cgit v1.2.3