[probes/mac] On ignore l'interface loop
This commit is contained in:
parent
e3822ee35b
commit
28510afc5f
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
echo "group:mac"
|
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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue