if_alias.patch
| /usr/local/lib/site_ruby/1.8/facter/util/ip.rb 2009-04-02 19:55:00.000000000 -0400 | ||
|---|---|---|
| 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*[.:]?\w*/)
|
|
| 56 | 56 |
else |
| 57 | 57 |
[] |
| 58 | 58 |
end |