wgengine/filter: reorder RunOut disjunctive cases to match RunIn above

Change-Id: Ia422121cde1687044b18be7bea9e7bf51a4183b9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/6965/head
Brad Fitzpatrick 2 years ago committed by Brad Fitzpatrick
parent d9144c73a8
commit 006ec659e6

@ -379,7 +379,7 @@ func (f *Filter) RunIn(q *packet.Parsed, rf RunFlags) Response {
func (f *Filter) RunOut(q *packet.Parsed, rf RunFlags) Response {
dir := out
r := f.pre(q, rf, dir)
if r == Drop || r == Accept {
if r == Accept || r == Drop {
// already logged
return r
}

Loading…
Cancel
Save