<p>pespin <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/16011">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve
  neels: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ss7: Set ASP default remote addr to 127.0.0.1 if none set in VTY<br><br>Similar to what we do with local address. Should fix creating the stream<br>when no remote address is provided on an ASP configured through VTY.<br><br>Related: OS#4260<br>Change-Id: I33672e76a51a5d5a483906749d30e4c4e08b66ce<br>---<br>M src/osmo_ss7_vty.c<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></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..1a246db 100644</span><br><span>--- a/src/osmo_ss7_vty.c</span><br><span>+++ b/src/osmo_ss7_vty.c</span><br><span>@@ -1775,6 +1775,11 @@</span><br><span>                      asp->cfg.local.host[0] = NULL;</span><br><span>                    asp->cfg.local.host_cnt = 1;</span><br><span>              }</span><br><span style="color: hsl(120, 100%, 40%);">+             /* If no remote addr was set */</span><br><span style="color: hsl(120, 100%, 40%);">+               if (!asp->cfg.remote.host_cnt) {</span><br><span style="color: hsl(120, 100%, 40%);">+                   asp->cfg.remote.host[0] = "127.0.0.1";</span><br><span style="color: hsl(120, 100%, 40%);">+                   asp->cfg.remote.host_cnt = 1;</span><br><span style="color: hsl(120, 100%, 40%);">+              }</span><br><span>            osmo_ss7_asp_restart(asp);</span><br><span>           vty->node = L_CS7_NODE;</span><br><span>           vty->index = asp->inst;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/16011">change 16011</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/+/16011"/><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: I33672e76a51a5d5a483906749d30e4c4e08b66ce </div>
<div style="display:none"> Gerrit-Change-Number: 16011 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>