projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43acdcd
)
mosquitto: properly use localhost instead of ipv4
author
Karl Palsson
<karlp@etactica.com>
Wed, 16 Aug 2017 14:54:08 +0000
(14:54 +0000)
committer
Karl Palsson
<karlp@etactica.com>
Wed, 16 Aug 2017 15:01:30 +0000
(15:01 +0000)
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>
net/mosquitto/files/etc/init.d/mosquitto
patch
|
blob
|
history
diff --git
a/net/mosquitto/files/etc/init.d/mosquitto
b/net/mosquitto/files/etc/init.d/mosquitto
index dbe8d1518e56bc2b3909210d67a4006614e904e3..a84bceeaf9ebbeeae77858f919d26e41bf1bca19 100755
(executable)
--- 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