aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-11-12 01:07:41 +0100
committerHarald Welte <laforge@gnumonks.org>2015-11-12 01:07:41 +0100
commit218482769bc85576ed25ffbd70f5c687cd76f1ff (patch)
treee129743ee5098b2a80c9e4b3474743d9f620e042
parentd32cbbb13087eae2617920d4ea980f0e8869a89e (diff)
print/log OpenBTS / OsmoBTS variant in PCU startup
Otherwise it can be very confusing, as Max had to figure out today...
-rw-r--r--src/openbts_sock.cpp2
-rw-r--r--src/osmobts_sock.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/openbts_sock.cpp b/src/openbts_sock.cpp
index 8c99025..f95b228 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 52c13c4..4773e14 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);