<p>Keith Whyte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13320">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Write configuration correctly from vty (alert notifications)<br><br>The default is [yes] alert-notifications, therefore write<br>"no alert-notifications" in the case that this has<br>been set, in order to preserve configuration after<br>write is called from vty.<br><br>Change-Id: I4b0363fa34dd9ac0a221844974e4ebf7465b56f4<br>---<br>M openbsc/src/libmsc/smpp_vty.c<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/openbsc refs/changes/20/13320/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/openbsc/src/libmsc/smpp_vty.c b/openbsc/src/libmsc/smpp_vty.c</span><br><span>index f1df652..8647867 100644</span><br><span>--- a/openbsc/src/libmsc/smpp_vty.c</span><br><span>+++ b/openbsc/src/libmsc/smpp_vty.c</span><br><span>@@ -582,8 +582,8 @@</span><br><span>                vty_out(vty, "  osmocom-extensions%s", VTY_NEWLINE);</span><br><span>       if (acl->dcs_transparent)</span><br><span>                 vty_out(vty, "  dcs-transparent%s", VTY_NEWLINE);</span><br><span style="color: hsl(0, 100%, 40%);">-     if (acl->alert_notifications)</span><br><span style="color: hsl(0, 100%, 40%);">-                vty_out(vty, "  alert-notifications%s", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+       if (!acl->alert_notifications)</span><br><span style="color: hsl(120, 100%, 40%);">+             vty_out(vty, "  no alert-notifications%s", VTY_NEWLINE);</span><br><span> </span><br><span>       llist_for_each_entry(r, &acl->route_list, list)</span><br><span>               write_esme_route_single(vty, r);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13320">change 13320</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/13320"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: openbsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I4b0363fa34dd9ac0a221844974e4ebf7465b56f4 </div>
<div style="display:none"> Gerrit-Change-Number: 13320 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Keith Whyte <keith@rhizomatica.org> </div>