0001-Update-ip.rb-to-deal-with-subinterfaces-and-vlans-at.patch
| 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 |
- |
|