diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-30 17:02:57 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-06-30 17:07:18 +0200 |
commit | 250c7f7a539a0626f4a013429f9fea84d580089f (patch) | |
tree | 7375ead91867c25d3e37441b936ee03eac3fd25a /openbsc/src | |
parent | 2662502066f6241dfe5295506862c52aa43fe575 (diff) |
osmo-bsc: vty: fix error message
The warning message that is displayed when a non standard SSN is
set is confusing.
Make warning message more expressive.
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_vty.c b/openbsc/src/osmo-bsc/osmo_bsc_vty.c index 1595446e0..c0b25a69d 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_vty.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_vty.c @@ -725,8 +725,8 @@ static void enforce_standard_ssn(struct vty *vty, struct osmo_sccp_addr *addr) if (addr->presence & OSMO_SCCP_ADDR_T_SSN) { if (addr->ssn != SCCP_SSN_BSSAP) vty_out(vty, - "setting ssn different from the standard (%u) is not allowd!%s", - SCCP_SSN_BSSAP, VTY_NEWLINE); + "setting an SSN (%u) different from the standard (%u) is not allowd, will use standard SSN for address: %s%s", + addr->ssn, SCCP_SSN_BSSAP, osmo_sccp_addr_dump(addr), VTY_NEWLINE); } addr->presence |= OSMO_SCCP_ADDR_T_SSN; |