Skip to content

Commit

Permalink
Merge pull request #5612 from larsewi/iface
Browse files Browse the repository at this point in the history
ENT-11840: Also ignore IPv6 interface info
  • Loading branch information
larsewi authored Oct 10, 2024
2 parents a0b3725 + 5ab06a1 commit 5df8fb8
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 5df8fb8

Please sign in to comment.