[PATCH] libosmocore[master]: vty: use VTY_BIND_ADDR_DEFAULT instead of "127.0.0.1"

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 Hofmeyr gerrit-no-reply at lists.osmocom.org
Sat Aug 20 14:34:10 UTC 2016


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

vty: use VTY_BIND_ADDR_DEFAULT instead of "127.0.0.1"

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


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/22/722/1

diff --git a/src/vty/vty.c b/src/vty/vty.c
index 8c0c73a..88ed937 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -1678,7 +1678,7 @@
 		vty_out(vty, " no login%s", VTY_NEWLINE);
 
 	/* bind */
-	if (vty_bind_addr && (strcmp(vty_bind_addr, "127.0.0.1") != 0))
+	if (vty_bind_addr && (strcmp(vty_bind_addr, VTY_BIND_ADDR_DEFAULT) != 0))
 		vty_out(vty, " bind %s%s", vty_bind_addr, VTY_NEWLINE);
 
 	vty_out(vty, "!%s", VTY_NEWLINE);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice0688ac9847524cb546f6d41547090b6a3cb3d8
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list