Skip to content

Commit

Permalink
Merge pull request #5616 from larsewi/iface-3.21.x
Browse files Browse the repository at this point in the history
ENT-11840: Also ignore IPv6 interface info (3.21.x)
  • Loading branch information
larsewi authored Oct 15, 2024
2 parents f332e4d + ed86f75 commit c4b7c29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libenv/unix_iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,11 @@ static void FindV6InterfacesInfo(EvalContext *ctx, Rlist **interfaces, Rlist **h
}
}

if (IgnoreInterface(current_interface))
{
// Ignore interfaces listed in ignore_interfaces.rx
continue;
}

const char *const stripped_ifconfig_line =
TrimWhitespace(ifconfig_line);
Expand Down

0 comments on commit c4b7c29

Please sign in to comment.