summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/facter/util/ip.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/util/ip.rb b/lib/facter/util/ip.rb
index 4b17208..f3d8095 100644
--- a/lib/facter/util/ip.rb
+++ b/lib/facter/util/ip.rb
@@ -48,7 +48,7 @@ module Facter::IPAddress
regex = mask
end
- if interface != "lo"
+ if interface != "lo" && interface != "lo0"
output_int.each { |s|
tmp1 = $1 if s =~ regex
}