Skip to content

Commit

Permalink
feat: do not do setup for loopback interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mcr committed Apr 10, 2023
1 parent 6b4be09 commit 848bc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libndmgmt/iface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ void network_interface::look_for_new_interfaces(rpl_debug *debug)
{
network_interface *iface = network_interface::all_if;
while(iface != NULL) {
if(!iface->alive && !iface->disabled) {
if(iface->is_active() && !iface->loopbackP() && !iface->disabled) {
iface->setup();

dag_network::send_all_dag(iface);
Expand Down

0 comments on commit 848bc39

Please sign in to comment.