0001-Update-ip.rb-to-deal-with-subinterfaces-and-vlans-at.patch

patch to fix vlan subinterface bug - Chris Moates, 03/16/2009 08:12 pm

Download (786 Bytes)

b/lib/facter/util/ip.rb
52 52
        # We get lots of warnings on platforms that don't get an output
53 53
        # made.
54 54
        if output
55
            int = output.scan(/^\w+[.:]?\d+/)
55
            int = output.scan(/^\w+[.:]?\d+[.:]?\d*/)
56 56
        else
57 57
            []
58 58
        end
59
-