luci: ignore '::1' in realtime connections
authorEric Luehrsen <ericluehrsen@hotmail.com>
Sat, 11 Feb 2017 02:38:00 +0000 (21:38 -0500)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 20 Feb 2017 14:47:56 +0000 (16:47 +0200)
commit6c09d8340671634f43cd7386aaf0ea5870c41a20
treeafce660c68ac4e5236f794e20e60a4af0d05334f
parenta57a17ad8a0a545c7728f11bff61807f9509fec1
luci: ignore '::1' in realtime connections

luci ignores only 127.0.0.1 in real time connections.
The dnsmasq.init script sets up resolv.conf(s) as such.
With alternate DNS servers configured 'localhost' will
resolve to '127.0.0.1' or '::1'. The connections graph
will spam itself. openwrt/luci#996

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
(cherry picked from commit 52771816a03b9250a22a76af77c27704067d07c5)
modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm
modules/luci-mod-admin-full/src/luci-bwc.c