diff options
author | James Turnbull <james@lovedthanlost.net> | 2009-03-17 20:51:29 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-03-17 20:51:29 +1100 |
commit | add6d4763b82ff45c7582f15fab84867ac2ef1a3 (patch) | |
tree | a0e18bef4d1485fe76a1dc05071e7df953875e88 | |
parent | 8def362b73ffc218b68f6953bdcc3c8540caf5dd (diff) | |
download | facter-add6d4763b82ff45c7582f15fab84867ac2ef1a3.tar.gz facter-add6d4763b82ff45c7582f15fab84867ac2ef1a3.tar.xz facter-add6d4763b82ff45c7582f15fab84867ac2ef1a3.zip |
Fixed #2081 - Fixed interfaces fact for vlan subinterfaces
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | lib/facter/util/ip.rb | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ 1.6.x: + Fixed #2081 - Fixed interfaces fact for vlan subinterfaces + Fixed #2063 - added kernelmajversion fact Fixed #2055 - SunoS Interface error diff --git a/lib/facter/util/ip.rb b/lib/facter/util/ip.rb index 5469f73..55b5e92 100644 --- a/lib/facter/util/ip.rb +++ b/lib/facter/util/ip.rb @@ -52,7 +52,7 @@ module Facter::Util::IP # We get lots of warnings on platforms that don't get an output # made. if output - int = output.scan(/^\w+[.:]?\d+/) + int = output.scan(/^\w+[.:]?\d+[.:]?\d*/) else [] end |