From 7fa257689b08d5c6c8e22da9da49f0679aa9b1d9 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Tue, 21 Apr 2009 07:25:10 +1000 Subject: Fixed #2132 - support for named interface aliases under linux --- CHANGELOG | 4 +++- lib/facter/util/ip.rb | 2 +- 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 -- cgit