summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-10 12:31:40 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-10 12:32:33 +0200
commitedc5dfe5ff61b163018852f38cdfe021e2c73571 (patch)
tree24c6fc941881d719c14259dedb716178766ab652
parentfac9c9e9d8682a0fe234b12cf94fc490596284eb (diff)
cosmetic: tweak error log in osmo_bsc_sigtran_init()
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_sigtran.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c b/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c
index 1b654b3a1..b5e394540 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -442,12 +442,14 @@ int osmo_bsc_sigtran_init(struct llist_head *mscs)
/* Check if the sccp-address */
if (test_addr(&msc->a.bsc_addr) < 0) {
LOGP(DMSC, LOGL_ERROR,
- "Insufficient local address (calling-address) configuration, check VTY-Config\n");
+ "A-interface: invalid local SCCP address (a.bsc_addr) %s\n",
+ osmo_sccp_addr_dump(&msc->a.bsc_addr));
return -EINVAL;
}
if (test_addr(&msc->a.msc_addr) < 0) {
LOGP(DMSC, LOGL_ERROR,
- "Insufficient remote address (called-address) configuration, check VTY-Config\n");
+ "A-interface: invalid remote SCCP address for the MSC (a.msc_addr) %s\n",
+ osmo_sccp_addr_dump(&msc->a.msc_addr));
return -EINVAL;
}