summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG4
-rw-r--r--lib/facter/util/ip.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index b0f9931..ac92eaf 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
-1.6.x:
+1.5.5:
+ Fixed #2132 - Support for named interfaces under Linux
+
Fixed #2080 - IPAddress resolutions should be reordered
Fixed #2078 - ip.rb errors command not found
diff --git a/lib/facter/util/ip.rb b/lib/facter/util/ip.rb
index 55b5e92..e06e506 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+[.:]?\d*/)
+ int = output.scan(/^\w+[.:]?\d+[.:]?\d*[.:]?\w*/)
else
[]
end