nerves-project-attic/nerves_network

Empty settings in config.exs make any subsequent setup calls ineffective

Closed this issue · 2 comments

When having provided my app with the following config.exs entry:
config :nerves_network, :default,
eth0: [
]

The subsequent call to Nerves.Network.setup "eth0", ipv4_address_method: :dhcp did not seem to have any effect apart from returned :ok status. I would have to dive deeper into the root-cause so far this is the last minute discovery and do not have more data.

@metelik so you think calling setup/2 should override what is in the application environment/config?