Change in libosmo-sccp[master]: fixup for 'Introduce SS7 IPv6 support'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Fri Aug 28 08:02:40 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/19855 )


Change subject: fixup for 'Introduce SS7 IPv6 support'
......................................................................

fixup for 'Introduce SS7 IPv6 support'

Change-Id: Ia41c66665614436ded879c935755993bfeb259a0
---
M src/osmo_ss7_vty.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/55/19855/1

diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index fad93f5..f87da2e 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -1807,10 +1807,10 @@
 	switch (vty->node) {
 	case L_CS7_ASP_NODE:
 		asp = vty->index;
-		/* If no local addr was set */
+		/* If no local addr was set, use ANY */
 		if (!asp->cfg.local.host_cnt)
-			osmo_ss7_asp_peer_add_host(&asp->cfg.local, asp, "localhost");
-		/* If no remote addr was set */
+			osmo_ss7_asp_peer_add_host(&asp->cfg.local, asp, NULL);
+		/* If no remote addr was set, use localhost */
 		if (!asp->cfg.remote.host_cnt)
 			osmo_ss7_asp_peer_add_host(&asp->cfg.remote, asp, "localhost");
 		osmo_ss7_asp_restart(asp);

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/19855
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Ia41c66665614436ded879c935755993bfeb259a0
Gerrit-Change-Number: 19855
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200828/ed56b986/attachment.htm>


More information about the gerrit-log mailing list