summaryrefslogtreecommitdiffhomepage
path: root/cmd/testwrapper
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2025-02-11 16:34:20 -0500
committerAndrew Dunham <andrew@du.nham.ca>2025-02-11 16:34:20 -0500
commitbb8b22ff4fb9ce63b74b161de8fb991b5f40a9a3 (patch)
tree00822aae85c9d0d99d54e36b19a688b16390f679 /cmd/testwrapper
parentbc0cd512ee112d31643ad9e326099e92139aa301 (diff)
downloadtailscale-andrew/wgengine-filter-split.tar.xz
tailscale-andrew/wgengine-filter-split.zip
wgengine/filter: add single-item version of MatchesFromFilterRulesandrew/wgengine-filter-split
In the other repo, we have a few cases where we call MatchesFromFilterRules with a single tailcfg.FilterRule. Rather than allocating a slice and then looping over the single-item slice, split the internal logic out to a function that takes a single FilterRule so we can use that. Updates tailscale/corp#26353 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: I95f2a7ee9de130712497259941264f06f3d00777
Diffstat (limited to 'cmd/testwrapper')
0 files changed, 0 insertions, 0 deletions