diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-30 17:02:57 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-07-25 15:14:15 +0200 |
commit | faa1b9dd0ae15d895ea89b72c13dfd2e8fc29327 (patch) | |
tree | 919013b71d2190586c41c5e69ef267603d0574fc | |
parent | f85f656b18a2728a65ed0648e126e0553bb6a175 (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.
Change-Id: I5283bcc5acf4739d468fe43937f0e59f44dee3d9
-rw-r--r-- | src/osmo-bsc/osmo_bsc_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_vty.c b/src/osmo-bsc/osmo_bsc_vty.c index 1595446e0..c0b25a69d 100644 --- a/src/osmo-bsc/osmo_bsc_vty.c +++ b/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; |