From 9d700a3f62ee1d1f0d212c354c4910b411175f56 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 30 Jun 2017 17:02:57 +0200 Subject: 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 --- src/osmo-bsc/osmo_bsc_vty.c | 4 ++-- 1 file 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; -- cgit v1.2.3