pfctl: fix nested inline anchors
Import the OpenBSD fix for nested inline anchors. PR: 196314 Submitted by: krichy@cflinux.hu Obtained from: OpenBSD
This commit is contained in:
parent
339be86fdb
commit
2fd47dea4e
@ -1339,7 +1339,7 @@ pfctl_load_rule(struct pfctl *pf, char *path, struct pf_rule *r, int depth)
|
||||
else
|
||||
snprintf(&path[len], MAXPATHLEN - len,
|
||||
"%s", r->anchor->name);
|
||||
name = path;
|
||||
name = r->anchor->name;
|
||||
} else
|
||||
name = r->anchor->path;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user