<p>Neels Hofmeyr <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/11121">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Neels Hofmeyr: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sccp_vty: fix doc strings for show ... ssn,connections<br><br>For 'show cs7 instance 0 ssn', fix doc string for 'ssn', and add missing one<br>for the SSN arg. This fixes depending builds that see VTY test failures due to<br>the missing doc string.<br><br>For 'show cs7 instance 0 connectsion', fix doc string for 'connections'.<br><br>Change-Id: I214ea51fc6bfa2a9a4dd7c34b43add0c77ffe22e<br>---<br>M src/sccp_vty.c<br>M tests/vty/ss7_asp_test.vty<br>2 files changed, 6 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/sccp_vty.c b/src/sccp_vty.c</span><br><span>index 2727ccc..b11fec5 100644</span><br><span>--- a/src/sccp_vty.c</span><br><span>+++ b/src/sccp_vty.c</span><br><span>@@ -83,7 +83,8 @@</span><br><span> DEFUN(show_sccp_user_ssn, show_sccp_user_ssn_cmd,</span><br><span>    "show cs7 instance <0-15> sccp ssn <0-65535>",</span><br><span>         SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR</span><br><span style="color: hsl(0, 100%, 40%);">-     "Show List of SCCP Users registered\n")</span><br><span style="color: hsl(120, 100%, 40%);">+     "Find an SCCP User registered for the given SSN\n"</span><br><span style="color: hsl(120, 100%, 40%);">+  "Subsystem Number (SSN)\n")</span><br><span> {</span><br><span>   int id = atoi(argv[0]);</span><br><span>      int ssn = atoi(argv[1]);</span><br><span>@@ -117,7 +118,7 @@</span><br><span> DEFUN(show_sccp_connections, show_sccp_connections_cmd,</span><br><span>    "show cs7 instance <0-15> sccp connections",</span><br><span>         SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR</span><br><span style="color: hsl(0, 100%, 40%);">-     "Show List of SCCP Users registered\n")</span><br><span style="color: hsl(120, 100%, 40%);">+     "Show List of active SCCP connections\n")</span><br><span> {</span><br><span>     int id = atoi(argv[0]);</span><br><span>      struct osmo_ss7_instance *inst;</span><br><span>diff --git a/tests/vty/ss7_asp_test.vty b/tests/vty/ss7_asp_test.vty</span><br><span>index fee97b3..05c7527 100644</span><br><span>--- a/tests/vty/ss7_asp_test.vty</span><br><span>+++ b/tests/vty/ss7_asp_test.vty</span><br><span>@@ -55,11 +55,11 @@</span><br><span> ss7_asp_vty_test# show cs7 instance 0 sccp ?</span><br><span>   addressbook  List all SCCP addressbook entries</span><br><span>   users        Show List of SCCP Users registered</span><br><span style="color: hsl(0, 100%, 40%);">-  ssn          Show List of SCCP Users registered</span><br><span style="color: hsl(0, 100%, 40%);">-  connections  Show List of SCCP Users registered</span><br><span style="color: hsl(120, 100%, 40%);">+  ssn          Find an SCCP User registered for the given SSN</span><br><span style="color: hsl(120, 100%, 40%);">+  connections  Show List of active SCCP connections</span><br><span> </span><br><span> ss7_asp_vty_test# show cs7 instance 0 sccp ssn ?</span><br><span style="color: hsl(0, 100%, 40%);">-  <0-65535></span><br><span style="color: hsl(120, 100%, 40%);">+  <0-65535>  Subsystem Number (SSN)</span><br><span> </span><br><span> ss7_asp_vty_test# configure terminal</span><br><span> ss7_asp_vty_test(config)# cs7 instance 0</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11121">change 11121</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/11121"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I214ea51fc6bfa2a9a4dd7c34b43add0c77ffe22e </div>
<div style="display:none"> Gerrit-Change-Number: 11121 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>