This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, neels/sgsn-id has been updated via 66ab8d0fae7870113d322edccb0f5fb24fa6b058 (commit) from 8077900807d74c1b0ec17c6a5d372833ce6d94d4 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=66ab8d0fae7870113d322edccb0f5fb24...
commit 66ab8d0fae7870113d322edccb0f5fb24fa6b058 Author: Neels Hofmeyr nhofmeyr@sysmocom.de Date: Thu Sep 24 15:15:01 2015 +0200
oap: add vty config parsing, tweak gprs_oap_config
Move parsing of the OAP secret from gprs_oap_init() to the vty config parsing function.
Hence, in gprs_oap_config, instead of a const char* hex-string, store the actual parsed octets. Add the gprs_oap_config.shared_secret_present flag to indicate a missing shared secret config (previously a NULL char*).
In gprs_oap_init(), now merely verify that all values are present, set the state enum value accordingly and copy the values to the gprs_oap_state struct. Comment on this duplication.
Remove the now obsolete oap_config_error enum value -- the string is parsed in vty and gprs_oap_init does not encounter such errors anymore.
-----------------------------------------------------------------------
Summary of changes: openbsc/include/openbsc/gprs_oap.h | 12 +++++-- openbsc/src/gprs/gprs_oap.c | 26 ++------------ openbsc/src/gprs/sgsn_vty.c | 70 ++++++++++++++++++++++++++++++++++++++ openbsc/tests/sgsn/sgsn_test.c | 56 +++++------------------------- 4 files changed, 91 insertions(+), 73 deletions(-)
hooks/post-receive
osmocom-commitlog@lists.osmocom.org