summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-03-07 10:50:57 +1100
committerJames Turnbull <james@lovedthanlost.net>2009-03-07 10:50:57 +1100
commit5d94f7fd5fde27a2cdffc918db68b2549231e23e (patch)
treee8edcb96ff197fdf4c92c42b566df96b7f349def /lib
parent9376e5bf883dc9460a4e19c7952c7c996f43e0e3 (diff)
downloadfacter-5d94f7fd5fde27a2cdffc918db68b2549231e23e.tar.gz
facter-5d94f7fd5fde27a2cdffc918db68b2549231e23e.tar.xz
facter-5d94f7fd5fde27a2cdffc918db68b2549231e23e.zip
Fixed #2055 - SunoS Interface error
Diffstat (limited to 'lib')
-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 a57bf08..5469f73 100644
--- a/lib/facter/util/ip.rb
+++ b/lib/facter/util/ip.rb
@@ -16,7 +16,7 @@ module Facter::Util::IP
:netmask => /netmask\s+0x(\w{8})/
},
:sunos => {
- :addr => /inet\s+([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/,
+ :ipadddress => /inet\s+([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/,
:macaddress => /(?:ether|lladdr)\s+(\w?\w:\w?\w:\w?\w:\w?\w:\w?\w:\w?\w)/,
:netmask => /netmask\s+(\w{8})/
}