From 218482769bc85576ed25ffbd70f5c687cd76f1ff Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 12 Nov 2015 01:07:41 +0100 Subject: [PATCH] print/log OpenBTS / OsmoBTS variant in PCU startup Otherwise it can be very confusing, as Max had to figure out today... --- src/openbts_sock.cpp | 2 ++ src/osmobts_sock.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/openbts_sock.cpp b/src/openbts_sock.cpp index 8c99025c..f95b2282 100644 --- a/src/openbts_sock.cpp +++ b/src/openbts_sock.cpp @@ -146,6 +146,8 @@ int pcu_l1if_open() struct femtol1_hdl *fl1h; int rc; + LOGP(DL1IF, LOGL_INFO, "Opening OsmoPCU L1 interface to OpenBTS\n"); + /* allocate new femtol1_handle */ fl1h = talloc_zero(tall_pcu_ctx, struct femtol1_hdl); INIT_LLIST_HEAD(&fl1h->wlc_list); diff --git a/src/osmobts_sock.cpp b/src/osmobts_sock.cpp index 52c13c42..4773e143 100644 --- a/src/osmobts_sock.cpp +++ b/src/osmobts_sock.cpp @@ -224,6 +224,8 @@ int pcu_l1if_open(void) unsigned int namelen; int rc; + LOGP(DL1IF, LOGL_INFO, "Opening OsmoPCU L1 interface to OsmoBTS\n"); + state = pcu_sock_state; if (!state) { state = talloc_zero(tall_pcu_ctx, struct pcu_sock_state);