lib/facter/facts/macosx/netmask_interfaces.rb in facter-4.0.34 vs lib/facter/facts/macosx/netmask_interfaces.rb in facter-4.0.35
- old
+ new
@@ -6,10 +6,10 @@
FACT_NAME = 'netmask_.*'
TYPE = :legacy
def call_the_resolver
arr = []
- interfaces = Facter::Resolvers::Macosx::Networking.resolve(:interfaces)
+ interfaces = Facter::Resolvers::Networking.resolve(:interfaces)
interfaces&.each do |interface_name, info|
arr << Facter::ResolvedFact.new("netmask_#{interface_name}", info[:netmask], :legacy) if info[:netmask]
end
arr