lib/facter/facts/windows/dhcp_servers.rb in facter-4.0.34 vs lib/facter/facts/windows/dhcp_servers.rb in facter-4.0.35
- old
+ new
@@ -12,13 +12,13 @@
end
private
def construct_addresses_hash
- interfaces = Facter::Resolvers::Networking.resolve(:interfaces)
+ interfaces = Facter::Resolvers::Windows::Networking.resolve(:interfaces)
return unless interfaces
- servers = { system: Facter::Resolvers::Networking.resolve(:dhcp) }
+ servers = { system: Facter::Resolvers::Windows::Networking.resolve(:dhcp) }
interfaces&.each { |interface_name, info| servers[interface_name] = info[:dhcp] if info[:dhcp] }
servers
end
end
end