[PATCH] libosmo-sccp[master]: osmo_ss7_vty: Fix config file writing for xUA listeners

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Apr 14 15:12:45 UTC 2017


Review at  https://gerrit.osmocom.org/2338

osmo_ss7_vty: Fix config file writing for xUA listeners

We so far generated un-parseable config files..

Change-Id: Iff6940ef6f52739b6f30a152487038cb0220da43
---
M src/osmo_ss7_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index e661623..08229dc 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -454,7 +454,7 @@
 
 static void write_one_xua(struct vty *vty, struct osmo_xua_server *xs)
 {
-	vty_out(vty, " %s %u%s",
+	vty_out(vty, " listen %s %u%s",
 		get_value_string(osmo_ss7_asp_protocol_vals, xs->cfg.proto),
 		xs->cfg.local.port, VTY_NEWLINE);
 	vty_out(vty, "  local-ip %s%s", xs->cfg.local.host, VTY_NEWLINE);

-- 
To view, visit https://gerrit.osmocom.org/2338
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff6940ef6f52739b6f30a152487038cb0220da43
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list