diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-02-16 21:56:01 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-02-16 21:56:01 +1100 |
commit | 1a5ba7196fcea8e0192b8bc13b3283e3553e897d (patch) | |
tree | 5c85b5a5cb3748acb66a32ae400221c2f2dfb124 /lib | |
parent | 92b43e0af2a1d0dfa43a7d851bd8b84522c93044 (diff) | |
download | facter-1a5ba7196fcea8e0192b8bc13b3283e3553e897d.tar.gz facter-1a5ba7196fcea8e0192b8bc13b3283e3553e897d.tar.xz facter-1a5ba7196fcea8e0192b8bc13b3283e3553e897d.zip |
Fixed Solaris detection of lo0 for ticket #46
Diffstat (limited to 'lib')
-rw-r--r-- | lib/facter/util/ip.rb | 2 |
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 } |