Browse Source

Merge "Ignore interfaces with @ in the name"

Jenkins 2 years ago
parent
commit
79ca6e27f7
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      agent

+ 1
- 0
agent View File

@@ -599,6 +599,7 @@ class NodeAgent
599 599
         #int = intinfo[:name]
600 600
         # Send info about physical interfaces only
601 601
 
602
+        next if int =~ /.*@.*/
602 603
         next if intinfo[:encapsulation] !~ /^Ethernet.*/
603 604
         # Avoid virtual devices like loopback, tunnels, bonding, vlans ...
604 605
         # TODO(vsharshov): replace below lines by this string after excluding Ruby 1.8

Loading…
Cancel
Save