lib/facter/ipaddress6.rb in facter-1.7.0.rc1 vs lib/facter/ipaddress6.rb in facter-1.7.0.rc2

- old
+ new

@@ -19,9 +19,11 @@ # Cody Herriges <c.a.herriges@gmail.com> # # Used the ipaddress fact that is already part of # Facter as a template. +require 'facter/util/ip' + def get_address_after_token(output, token, return_first=false) ip = nil output.scan(/#{token} ((?>[0-9,a-f,A-F]*\:{1,2})+[0-9,a-f,A-F]{0,4})/).each do |match| match = match.first