Codebase list facter / b85ab0a
Fixed #1924 - Fixed lo / lo:0 local interface matching James Turnbull 15 years ago
2 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
44
55 Fixed generic uptime fact
66
7 Fixed #1924 - Fixed lo / lo:0 local interface matching
78 1.5.3:
89 Added network fact
910
122122 else
123123 output_int = get_single_interface_output(interface)
124124
125 if interface != "lo" && interface != "lo0"
125 if interface != /^lo[0:]?\d?/
126126 output_int.each do |s|
127127 if s =~ regex
128128 value = $1