arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/32066 )
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: Ic831ba20917293d8fa9b00ad276b31ad2ff77a64 --- M src/osmobts_sock.c 1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/66/32066/1
diff --git a/src/osmobts_sock.c b/src/osmobts_sock.c index 6d46a84..bf1fbb4 100644 --- a/src/osmobts_sock.c +++ b/src/osmobts_sock.c @@ -216,7 +216,7 @@ int pcu_l1if_open(void) { int rc; - LOGP(DL1IF, LOGL_INFO, "Opening OsmoPCU L1 interface to OsmoBTS\n"); + LOGP(DL1IF, LOGL_INFO, "Opening OsmoPCU L1 interface v%u to OsmoBTS\n", PCU_IF_VERSION);
memset(&pcu_sock_state, 0x00, sizeof(pcu_sock_state)); INIT_LLIST_HEAD(&pcu_sock_state.upqueue);