<p>Stefan Sperling has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10060">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix TC_pdp4_act_deact_with_separate_dns<br><br>Do not delete the PDP context too early, and look for the second DNS<br>server in the correct place (2nd match on IPCP protocol, not 1st).<br><br>Change-Id: I109491cc9ccb060792e29bf6b2999ef48723edbf<br>Related: OS#3319<br>---<br>M ggsn_tests/GGSN_Tests.ttcn<br>1 file changed, 1 insertion(+), 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/60/10060/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn</span><br><span>index 6ae205f..5673a99 100644</span><br><span>--- a/ggsn_tests/GGSN_Tests.ttcn</span><br><span>+++ b/ggsn_tests/GGSN_Tests.ttcn</span><br><span>@@ -1017,11 +1017,10 @@</span><br><span>                if (not match(pco_neg_dns, pco_neg_dns_expected)) {</span><br><span>                  setverdict(fail, "Primary DNS IPv4 PCO option not found");</span><br><span>                 }</span><br><span style="color: hsl(0, 100%, 40%);">-               f_pdp_ctx_del(ctx, '1'B);</span><br><span> </span><br><span>                /* Check if secondary DNS is contained */</span><br><span>            /* Note: this check fill fail due to a bug in osmo-ggsn, see also OS#3381 */</span><br><span style="color: hsl(0, 100%, 40%);">-            pco_neg_dns := f_PCO_extract_proto(ctx.pco_neg, '8021'O, 1);</span><br><span style="color: hsl(120, 100%, 40%);">+          pco_neg_dns := f_PCO_extract_proto(ctx.pco_neg, '8021'O, 2);</span><br><span>                 pco_neg_dns_expected := '0200000A8306'O & ggsn_ip4_dns2</span><br><span>          if (not match(pco_neg_dns, pco_neg_dns_expected)) {</span><br><span>                  setverdict(fail, "Secondary DNS IPv4 PCO option not found");</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10060">change 10060</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/10060"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I109491cc9ccb060792e29bf6b2999ef48723edbf </div>
<div style="display:none"> Gerrit-Change-Number: 10060 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>