contrib/package/freifunk-common: add ipv6 support for neigh.sh
authorPatrick Grimm <patrick@lunatiki.de>
Thu, 24 Jan 2013 09:45:56 +0000 (09:45 +0000)
committerPatrick Grimm <patrick@lunatiki.de>
Thu, 24 Jan 2013 09:45:56 +0000 (09:45 +0000)
contrib/package/freifunk-common/files/usr/bin/neigh.sh

index 723b813b76e5cccc111a3e756f54e159f82f361a..eee9cd3b44327b2f93dd390afa0826eead983149 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
 
 wget -q -O - http://localhost:2006/neighbours|sed -e's/LinkQuality/LQ/;s/Hysteresis/Hyst./;s/Willingness/Will./'
+wget -q -O - http://[::1]:2006/neighbours|sed -e's/LinkQuality/LQ/;s/Hysteresis/Hyst./;s/Willingness/Will./'