From 250c7f7a539a0626f4a013429f9fea84d580089f 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. --- openbsc/src/osmo-bsc/osmo_bsc_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src') 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; -- cgit v1.2.3