diff options
author | Harald Welte <laforge@osmocom.org> | 2020-09-13 18:38:02 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-09-17 15:26:52 +0000 |
commit | 07cb87a90c3f9778d8cdc3d1baeca335ac0f4103 (patch) | |
tree | ea7d82325df40cfbd90c48ebfae8ef7fe99a360d | |
parent | efca79da056d81b7d15ac49a0b277db51391e06f (diff) |
BSSGP_Emulation: Fix build without BSSGP_EM_L3
Change-Id: Ic58e2d6bc37cb8fd8f0235b8497f674db7cfdd85
-rw-r--r-- | library/BSSGP_Emulation.ttcnpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/library/BSSGP_Emulation.ttcnpp b/library/BSSGP_Emulation.ttcnpp index 05a730b9..185fd82d 100644 --- a/library/BSSGP_Emulation.ttcnpp +++ b/library/BSSGP_Emulation.ttcnpp @@ -526,11 +526,14 @@ altstep as_blocked() runs on BSSGP_CT { } private function f_send_bssgp_dec(BssgpDecoded dec, BSSGP_Client_CT vc_conn, BSSGP_SP_PT pt := BSSGP_SP) runs on BSSGP_CT { +#ifdef BSSGP_EM_L3 if (ispresent(dec.l3_mt)) { pt.send(dec.l3_mt) to vc_conn; } else if (ispresent(dec.l3_mo)) { pt.send(dec.l3_mo) to vc_conn; - } else if (ispresent(dec.sndcp)) { + } else +#endif + if (ispresent(dec.sndcp)) { pt.send(dec.sndcp) to vc_conn; } else if (ispresent(dec.llc)) { pt.send(dec.llc) to vc_conn; |