diff options
-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 |