Commit 95a93c91b342a1c0670e6d1d50aef42a8abf8e75
1 parent
3b2c5e0e
add interface names to classes, although I doubt their usefulness
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -39,6 +39,7 @@ gather_if_info_ip() { | @@ -39,6 +39,7 @@ gather_if_info_ip() { | ||
39 | no=$1; | 39 | no=$1; |
40 | sub(/:/,"",$2); | 40 | sub(/:/,"",$2); |
41 | name=$2; | 41 | name=$2; |
42 | + classes=classes "net_iface_" name " "; | ||
42 | for (i=3; i<NF; i++) { | 43 | for (i=3; i<NF; i++) { |
43 | if ($i == "state") { | 44 | if ($i == "state") { |
44 | i++; state=$i | 45 | i++; state=$i |
Please
register
or
login
to post a comment