[MERGED] 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Aug 27 01:20:24 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: vty: use VTY_BIND_ADDR_DEFAULT instead of "127.0.0.1"
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: Ice0688ac9847524cb546f6d41547090b6a3cb3d8
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list