arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32065 )
Change subject: PCU interface: Log version when starting listener ......................................................................
PCU interface: Log version when starting listener
Since the PCU interface version is determined by including a define statement, it depends on the include configuration. This will make it easier to immediately see what version is run.
Change-Id: Ie3d8ebcb3175412313dfae3b7d560202a98ff8ab --- M src/osmo-bsc/pcu_sock.c 1 file changed, 13 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/65/32065/1
diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c index dba502f..0988c3b 100644 --- a/src/osmo-bsc/pcu_sock.c +++ b/src/osmo-bsc/pcu_sock.c @@ -1003,7 +1003,8 @@ return rc; }
- LOGP(DPCU, LOGL_INFO, "Started listening on PCU socket: %s\n", net->pcu_sock_path); + LOGP(DPCU, LOGL_INFO, "Started listening on PCU socket (PCU IF v%u): %s\n", + PCU_IF_VERSION, net->pcu_sock_path);
net->pcu_state = state; return 0;