diff options
| author | Karl Palsson <karlp@etactica.com> | 2017-08-16 14:54:08 +0000 |
|---|---|---|
| committer | Karl Palsson <karlp@etactica.com> | 2017-08-16 15:01:30 +0000 |
| commit | 520a5bb50f97ff1eefa0c03a42faf7c4631410ee (patch) | |
| tree | c1497000c13b021bb29de60a7888fcc5c2c297cb /net | |
| parent | 43acdcdd541dfb85d20eba7c17486aa2e1a90565 (diff) | |
mosquitto: properly use localhost instead of ipv4
On some environments, connecting to localhost was resolving to ::1,
which didn't match the bind to the explicit 127.0.0.1.
Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'net')
| -rwxr-xr-x | net/mosquitto/files/etc/init.d/mosquitto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mosquitto/files/etc/init.d/mosquitto b/net/mosquitto/files/etc/init.d/mosquitto index dbe8d1518..a84bceeaf 100755 --- a/net/mosquitto/files/etc/init.d/mosquitto +++ b/net/mosquitto/files/etc/init.d/mosquitto @@ -56,7 +56,7 @@ convert_mosq_general() { config_get_bool no_remote "$1" no_remote_access 0 if [ "$no_remote" -eq 1 ]; then - echo "bind_address 127.0.0.1" >> $TCONF + echo "bind_address localhost" >> $TCONF fi config_get port "$1" port 1883 |
