From add6d4763b82ff45c7582f15fab84867ac2ef1a3 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Tue, 17 Mar 2009 20:51:29 +1100 Subject: Fixed #2081 - Fixed interfaces fact for vlan subinterfaces --- CHANGELOG | 2 ++ lib/facter/util/ip.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 952f88d..b6dabab 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 -- cgit