<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15995">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo_ss7_vty.c: implement 'active' filter for show_cs7_as_cmd<br><br>Change-Id: I356d90642a500be6a70f60c8240ce1211fd0d934<br>---<br>M src/osmo_ss7_vty.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/95/15995/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c</span><br><span>index 35640df..f70ee52 100644</span><br><span>--- a/src/osmo_ss7_vty.c</span><br><span>+++ b/src/osmo_ss7_vty.c</span><br><span>@@ -1096,7 +1096,8 @@</span><br><span>                     continue;</span><br><span>            if (filter && !strcmp(filter, "sua") && as->cfg.proto != OSMO_SS7_ASP_PROT_SUA)</span><br><span>                         continue;</span><br><span style="color: hsl(0, 100%, 40%);">-               /* FIXME: active filter */</span><br><span style="color: hsl(120, 100%, 40%);">+            if (filter && !strcmp(filter, "active") && as->fi.state != XUA_AS_S_ACTIVE)</span><br><span style="color: hsl(120, 100%, 40%);">+                      continue;</span><br><span>            vty_out(vty, "%-12s %-12s %-10u %-13s %4s %13s %3s %5s %4s %10s%s",</span><br><span>                        as->cfg.name, osmo_fsm_inst_state_name(as->fi), as->cfg.routing_key.context,</span><br><span>                        osmo_ss7_pointcode_print(as->inst, as->cfg.routing_key.pc),</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15995">change 15995</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/libosmo-sccp/+/15995"/><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-Change-Id: I356d90642a500be6a70f60c8240ce1211fd0d934 </div>
<div style="display:none"> Gerrit-Change-Number: 15995 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>