<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21220">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gbproxy: Remove NUM_BVC_PER_NSE constant and constant-sized array<br><br>Let's use a 'record of' with indefinite length in order to be able to<br>dynamically adjust the number of BSSGP_BVC_CT references based on how<br>many BVCs we have configured.<br><br>Change-Id: Id4aa20ff0b553cb8a1f5a67faa1e7b237fb254b8<br>---<br>M gbproxy/GBProxy_Tests.ttcn<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/20/21220/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn</span><br><span>index 874679d..e6c07d7 100644</span><br><span>--- a/gbproxy/GBProxy_Tests.ttcn</span><br><span>+++ b/gbproxy/GBProxy_Tests.ttcn</span><br><span>@@ -187,13 +187,13 @@</span><br><span>     }</span><br><span> };</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-const integer NUM_BVC_PER_NSE := 3;</span><br><span> type record GbInstance {</span><br><span>   NS_CT vc_NS,</span><br><span>         BSSGP_CT vc_BSSGP,</span><br><span style="color: hsl(0, 100%, 40%);">-      BSSGP_BVC_CT vc_BSSGP_BVC[NUM_BVC_PER_NSE],</span><br><span style="color: hsl(120, 100%, 40%);">+   BSSGP_BVC_CTs vc_BSSGP_BVC,</span><br><span>  BssgpConfig cfg</span><br><span> };</span><br><span style="color: hsl(120, 100%, 40%);">+type record of BSSGP_BVC_CT BSSGP_BVC_CTs</span><br><span> </span><br><span> const integer NUM_PCU := 3;</span><br><span> type record of GbInstance GbInstances;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21220">change 21220</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21220"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id4aa20ff0b553cb8a1f5a67faa1e7b237fb254b8 </div>
<div style="display:none"> Gerrit-Change-Number: 21220 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>