gluon-status-page: fix neighbor view with current iw/mac80211

The whole status page should be rewritten ASAP, but this fix will at least
make it work again for now...
This commit is contained in:
Matthias Schiffer 2014-06-15 13:22:39 +02:00
parent 7004c12983
commit 8680f3da22
1 changed files with 4 additions and 4 deletions

View File

@ -47,15 +47,15 @@ echo "</pre>"
echo "<h2>Neighbours</h2>" echo "<h2>Neighbours</h2>"
iw dev | grep IBSS -B 4 | grep Interface | cut -d' ' -f2 | while read if iw dev | grep IBSS -B 5 | grep Interface | cut -d' ' -f2 | while read if
do do
echo "<h3>$if</h3>" echo "<h3>$if</h3>"
echo "<pre>" echo "<pre>"
iw dev $if link | escape_html iw dev $if link | escape_html
echo echo
iw dev $if station dump | escape_html | linknodes iw dev $if station dump | escape_html | linknodes
echo "</pre>" echo "</pre>"