<p><a href="https://gerrit.osmocom.org/9652">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9652/1//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9652/1//COMMIT_MSG@17">Patch Set #1, Line 17:</a> <code style="font-family:monospace,monospace">-1</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">As far as I can see, the old code was using -1, not the new code? (leaving that aside, I don't even […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The old code (before 4dc9088cabedc40cb9072814237ad5926b12bd35) <br>was passing -1 for port numbers, not point codes.<br>I believe in this context -1 means "use any port".</p><p style="white-space: pre-wrap; word-wrap: break-word;">The server was using point code 1, and expected the client to use point code 23. The client was using point code 23.</p><p style="white-space: pre-wrap; word-wrap: break-word;">One mistake in 4dc9088cabedc40cb9072814237ad5926b12bd35 was that I set the LOCAL_PC to -1 instead of 1 (got mixed up between ports and point codes).</p><p style="white-space: pre-wrap; word-wrap: break-word;">I understand that having sccp_demo_user client/server talk to each other out of the box will be useful. I will try to keep it working that way in the next patch set.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/9652">change 9652</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/9652"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I7432e6fc2617e0fd77a098fcd7d14abc40db7229 </div>
<div style="display:none"> Gerrit-Change-Number: 9652 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 06 Jul 2018 15:21:01 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>