Fixed #1924 - Fixed lo / lo:0 local interface matching
James Turnbull
15 years ago
4 | 4 |
|
5 | 5 |
Fixed generic uptime fact
|
6 | 6 |
|
|
7 |
Fixed #1924 - Fixed lo / lo:0 local interface matching
|
7 | 8 |
1.5.3:
|
8 | 9 |
Added network fact
|
9 | 10 |
|
122 | 122 |
else
|
123 | 123 |
output_int = get_single_interface_output(interface)
|
124 | 124 |
|
125 | |
if interface != "lo" && interface != "lo0"
|
|
125 |
if interface != /^lo[0:]?\d?/
|
126 | 126 |
output_int.each do |s|
|
127 | 127 |
if s =~ regex
|
128 | 128 |
value = $1
|