<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12488">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Cosmetic: GSUP: note "on wire" for imei_result<br><br>Note that OSMO_GSUP_IMEI_RESULT_ACK is 0 on the wire, although the<br>enum value is 1. Same with NACK (1 on wire, enum 2).<br><br>I had implemented enum osmo_gsup_imei_result after<br>enum osmo_gsup_cancel_type above, where this comment exists as well,<br>and I incorrectly assumed that enum osmo_gsup_cn_domain in the middle<br>was also implemented this way and therefore adding the comments to each<br>enum would be redundant. But for cn_domain, the values on the wire are<br>the same as the enum values.<br><br>Change-Id: If97c34f117bfaab2232bbb625e9d118c8f390e58<br>---<br>M include/osmocom/gsm/gsup.h<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/libosmocore refs/changes/88/12488/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/gsm/gsup.h b/include/osmocom/gsm/gsup.h</span><br><span>index 6adb0bf..5dc2a82 100644</span><br><span>--- a/include/osmocom/gsm/gsup.h</span><br><span>+++ b/include/osmocom/gsm/gsup.h</span><br><span>@@ -174,8 +174,8 @@</span><br><span> };</span><br><span> </span><br><span> enum osmo_gsup_imei_result {</span><br><span style="color: hsl(0, 100%, 40%);">- OSMO_GSUP_IMEI_RESULT_ACK               = 1,</span><br><span style="color: hsl(0, 100%, 40%);">-    OSMO_GSUP_IMEI_RESULT_NACK              = 2,</span><br><span style="color: hsl(120, 100%, 40%);">+  OSMO_GSUP_IMEI_RESULT_ACK               = 1, /* on wire: 0 */</span><br><span style="color: hsl(120, 100%, 40%);">+ OSMO_GSUP_IMEI_RESULT_NACK              = 2, /* on wire: 1 */</span><br><span> };</span><br><span> </span><br><span> /*! TCAP-like session state */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12488">change 12488</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/12488"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: If97c34f117bfaab2232bbb625e9d118c8f390e58 </div>
<div style="display:none"> Gerrit-Change-Number: 12488 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>