lib/ohai/plugins/openbsd/network.rb in ohai-14.2.0 vs lib/ohai/plugins/openbsd/network.rb in ohai-14.3.0
- old
+ new
@@ -69,10 +69,10 @@
if line =~ /\s+inet6 ([a-f0-9\:]+)%?(\w*)\s+prefixlen\s+(\d+)\s*\w*\s*([\da-fx]*)/
iface[cint][:addresses] = Mash.new unless iface[cint][:addresses]
if $4.empty?
iface[cint][:addresses][$1] = { "family" => "inet6", "prefixlen" => $3 }
else
- #found a zone_id / scope
+ # found a zone_id / scope
iface[cint][:addresses][$1] = { "family" => "inet6", "zoneid" => $2, "prefixlen" => $3, "scopeid" => $4 }
end
end
if line =~ /flags=\d+<(.+)>/
flags = $1.split(",")