mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 14:09:39 -05:00
make GenerateFilterRules take machine and peers
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
committed by
Kristoffer Dalby
parent
35770278f7
commit
db6cf4ac0a
@@ -101,8 +101,8 @@ func fullMapResponse(
|
||||
|
||||
rules, sshPolicy, err := policy.GenerateFilterRules(
|
||||
pol,
|
||||
// The policy is currently calculated for the entire Headscale network
|
||||
append(peers, *machine),
|
||||
machine,
|
||||
peers,
|
||||
stripEmailDomain,
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user