<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25494">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-auc-gen: Permit specifying the SQN in hex (0x12345) format<br><br>Use base '0' of strtoul to permit both decimal and hexadecimal input<br>to the SQN parameter. Some other tools represent the SQN as hex,<br>so this avoids having to use some external tool to convert and allows<br>you to copy+paste it to the osmo-auc-gen command line.<br><br>Change-Id: I67c6341a989de433451994b824e12afd0c26cb8a<br>---<br>M utils/osmo-auc-gen.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c</span><br><span>index 65cfa31..eb6c65b 100644</span><br><span>--- a/utils/osmo-auc-gen.c</span><br><span>+++ b/utils/osmo-auc-gen.c</span><br><span>@@ -207,7 +207,7 @@</span><br><span> fprintf(stderr, "Only UMTS has SQN\n");</span><br><span> exit(2);</span><br><span> }</span><br><span style="color: hsl(0, 100%, 40%);">- sqn = strtoull(optarg, 0, 10);</span><br><span style="color: hsl(120, 100%, 40%);">+ sqn = strtoull(optarg, 0, 0);</span><br><span> sqn_is_set = 1;</span><br><span> break;</span><br><span> case 'i':</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25494">change 25494</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/libosmocore/+/25494"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I67c6341a989de433451994b824e12afd0c26cb8a </div>
<div style="display:none"> Gerrit-Change-Number: 25494 </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-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>