diff options
author | Max <msuraev@sysmocom.de> | 2017-08-17 19:33:11 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-08-18 18:07:23 +0000 |
commit | a42b0dff4c28aa774566e045b6830a3eba455954 (patch) | |
tree | 313d44e09425b8bd825f78ed63e86765ab382a2b /openbsc/src | |
parent | 0ff59c1e1ba7b8f13c519f87b82e5dd144e219cd (diff) |
gbproxy: log unhandled BSSGP PDU as text
Change-Id: Ibe3c8bd353b3a178e26b0936f25b2e1959f9990c
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/gprs/gb_proxy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 3603e14e6..b98a9a5ce 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -1266,8 +1266,7 @@ static int gbprox_rx_sig_from_sgsn(struct gbproxy_config *cfg, rc = bssgp_tx_status(BSSGP_CAUSE_PDU_INCOMP_FEAT, NULL, orig_msg); break; default: - LOGP(DGPRS, LOGL_NOTICE, "BSSGP PDU type 0x%02x unknown\n", - pdu_type); + LOGP(DGPRS, LOGL_NOTICE, "BSSGP PDU type %s not supported\n", bssgp_pdu_str(pdu_type)); rate_ctr_inc(&cfg->ctrg-> ctr[GBPROX_GLOB_CTR_PROTO_ERR_SGSN]); rc = bssgp_tx_status(BSSGP_CAUSE_PROTO_ERR_UNSPEC, NULL, orig_msg); |