[probes/mac] On ignore l'interface loop

This commit is contained in:
Pierre-Elliott Bécue 2013-02-10 16:37:15 +01:00
parent e3822ee35b
commit 28510afc5f

View file

@ -2,4 +2,4 @@
echo "group:mac"
exec ip -6 a show | egrep "(^[0-9]*:|scope link)" | tail -n +1 | sed -e 's/^[0-9]*: //' -e 's/: <.*$//g' -e 's/@.*//g' -e 's/^.*fe80:://g' -e 's:/64.*$::g'
exec ip -6 a show | grep -v "lo:" | egrep "(^[0-9]*:|scope link)" | tail -n +1 | sed -e 's/^[0-9]*: //' -e 's/: <.*$//g' -e 's/@.*//g' -e 's/^.*fe80:://g' -e 's:/64.*$::g'