Change in ...osmo-ttcn3-hacks[master]: RAN_Adapter: protect RAN_EMULATION_CTRL with ifdef

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Aug 18 17:12:48 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15156 )

Change subject: RAN_Adapter: protect RAN_EMULATION_CTRL with ifdef
......................................................................

RAN_Adapter: protect RAN_EMULATION_CTRL with ifdef

Change-Id: I1ff98c933b00a90f54ceedf290121d61d35c6063
---
M library/RAN_Adapter.ttcnpp
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/library/RAN_Adapter.ttcnpp b/library/RAN_Adapter.ttcnpp
index 40cf0fa..e995e8d 100644
--- a/library/RAN_Adapter.ttcnpp
+++ b/library/RAN_Adapter.ttcnpp
@@ -168,10 +168,12 @@
 			connect(ba.vc_IPA:IPA_MGCP_PORT, ba.vc_RAN:MGCP);
 #endif
 #ifdef IPA_EMULATION_CTRL
+#ifdef RAN_EMULATION_CTRL
 			/* connect IPA CTRL port with BSSMAP CTRL port */
 			log("Connecting CTRL RAN Emulation to IPA CTRL PORT");
 			connect(ba.vc_IPA:IPA_CTRL_PORT, ba.vc_RAN:CTRL);
 #endif
+#endif
 		}
 		log("Starting RAN_Emulation");
 		ba.vc_RAN.start(RAN_Emulation.main(valueof(ops), ""));

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15156
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I1ff98c933b00a90f54ceedf290121d61d35c6063
Gerrit-Change-Number: 15156
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190818/fe17d22a/attachment.htm>


More information about the gerrit-log mailing list