mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 14:09:39 -05:00
reduce filter rules at the end, so we filter nodes correctly
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
committed by
Kristoffer Dalby
parent
fcdc7a6f7d
commit
e2c08db3b5
@@ -160,7 +160,7 @@ func fullMapResponse(
|
||||
CollectServices: "false",
|
||||
|
||||
// TODO: Only send if updated
|
||||
PacketFilter: rules,
|
||||
PacketFilter: policy.ReduceFilterRules(machine, rules),
|
||||
|
||||
UserProfiles: profiles,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user