aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-08 15:39:59 +0100
committerlaforge <laforge@osmocom.org>2019-11-12 14:18:39 +0000
commit6090d7e6b7245199440cce2b336b0e7a9aee20c2 (patch)
tree9d8498ccc923d327bad6d96bd0438d482da4a003
parent81d2f1e50277cf7f57b753f5ef00c333ecbc57bc (diff)
ss7: Improve log formatting during ASP restart
Since it may act sometimes as a server and sometimes as a client, let's better use one more neutral (2-side arrow) connector, and mark which address is the local and which is the remote. We already use same formatting in other osmocom code. Change-Id: I42feaa16790f02b98bcda65281de8cd9295ddcb6
-rw-r--r--src/osmo_ss7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 7ff3efe..4d5c349 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1292,8 +1292,8 @@ int osmo_ss7_asp_restart(struct osmo_ss7_asp *asp)
OSMO_ASSERT(ss7_initialized);
osmo_ss7_asp_peer_snprintf(bufloc, sizeof(bufloc), &asp->cfg.local);
osmo_ss7_asp_peer_snprintf(bufrem, sizeof(bufrem), &asp->cfg.remote);
- LOGPASP(asp, DLSS7, LOGL_INFO, "Restarting ASP %s, %s ==> %s\n",
- asp->cfg.name, bufloc, bufrem);
+ LOGPASP(asp, DLSS7, LOGL_INFO, "Restarting ASP %s, r=%s<->l=%s\n",
+ asp->cfg.name, bufrem, bufloc);
if (!asp->cfg.is_server) {
/* We are in client mode now */