<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><p style="white-space: pre-wrap; word-wrap: break-word;">did you know that there are 2-digit and 3-digit MNCs?  So 001-01 is  different from 001-001, this is why treating either of the two values as integers is always leading to confusign bugs.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The SIM card contains an explicit field that encodes the MNC length, as otherwise the UE would not know where the MCC/MNC prefix of the IMSI ends.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">True. We don't have the notion of length notion of the MNC, other than the value you put in the config. I guess the only way to make sure we don't confuse 001 with 01 in MNC is to make sure the the leading zeros in the default.conf or resources.conf don't get stripped away.<br></p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19204">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19204">change 19204</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-gsm-tester/+/19204"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I80a84e01ec9530c285634452d7c18c17bdd595ce </div>
<div style="display:none"> Gerrit-Change-Number: 19204 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 09 Jul 2020 15:24:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>