aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-30 17:02:57 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:42:47 +0200
commit9d700a3f62ee1d1f0d212c354c4910b411175f56 (patch)
treecbd3d138ad9e33586c2434cb7b3c19a94cb4faa1 /src
parent9d82e581d45442261a81a731fc7abbfa9653cd12 (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
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/osmo_bsc_vty.c4
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;