diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-20 16:33:47 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-20 16:33:47 +0200 |
commit | 898e1d878e47298f97289e50f9b0cca7ecdf2ed7 (patch) | |
tree | 1f385145c1349c57316ad851cb8f7e11bb29f652 | |
parent | fef2fa224a754df3f9792d1ddcd3a6d9a73658b1 (diff) |
vty: use VTY_BIND_ADDR_DEFAULT instead of "127.0.0.1"
Change-Id: Ice0688ac9847524cb546f6d41547090b6a3cb3d8
-rw-r--r-- | src/vty/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c index 8c0c73ab..88ed9374 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c @@ -1678,7 +1678,7 @@ static int vty_config_write(struct vty *vty) 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); |