diff options
Diffstat (limited to 'lib/ohai/plugins/windows/network.rb')
-rw-r--r-- | lib/ohai/plugins/windows/network.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/windows/network.rb b/lib/ohai/plugins/windows/network.rb index 4efa4bcd..f2a9eb32 100644 --- a/lib/ohai/plugins/windows/network.rb +++ b/lib/ohai/plugins/windows/network.rb @@ -205,7 +205,7 @@ Ohai.plugin(:Network) do so = shell_out("arp -a") if so.exitstatus == 0 so.stdout.lines do |line| - if line =~ /^Interface:\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\s+[-]+\s+(0x\S+)/ + if line =~ /^Interface:\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\s+-+\s+(0x\S+)/ cint = $2.downcase end next unless iface[cint] |