Change in osmo-msc[master]: Write configuration correctly from vty (alert notifications)

Keith Whyte gerrit-no-reply at lists.osmocom.org
Tue Mar 19 14:15:10 UTC 2019


Keith Whyte has uploaded this change for review. ( https://gerrit.osmocom.org/13321


Change subject: Write configuration correctly from vty (alert notifications)
......................................................................

Write configuration correctly from vty (alert notifications)

The default is [yes] alert-notifications, therefore write
"no alert-notifications" in the case that this has
been set, in order to preserve configuration after
write is called from vty.

Change-Id: I079aea96ee83fbf04f782dcab344d41a4ef04657
---
M src/libmsc/smpp_vty.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/21/13321/1

diff --git a/src/libmsc/smpp_vty.c b/src/libmsc/smpp_vty.c
index 4c179d4..9026f6c 100644
--- a/src/libmsc/smpp_vty.c
+++ b/src/libmsc/smpp_vty.c
@@ -582,8 +582,8 @@
 		vty_out(vty, "  osmocom-extensions%s", VTY_NEWLINE);
 	if (acl->dcs_transparent)
 		vty_out(vty, "  dcs-transparent%s", VTY_NEWLINE);
-	if (acl->alert_notifications)
-		vty_out(vty, "  alert-notifications%s", VTY_NEWLINE);
+	if (!acl->alert_notifications)
+		vty_out(vty, "  no alert-notifications%s", VTY_NEWLINE);
 
 	llist_for_each_entry(r, &acl->route_list, list)
 		write_esme_route_single(vty, r);

-- 
To view, visit https://gerrit.osmocom.org/13321
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I079aea96ee83fbf04f782dcab344d41a4ef04657
Gerrit-Change-Number: 13321
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Whyte <keith at rhizomatica.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190319/66b675a5/attachment.html>


More information about the gerrit-log mailing list