summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG2
-rw-r--r--lib/facter/util/ip.rb2
2 files changed, 3 insertions, 1 deletions
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