in pf_print_state_parts, do not use skw->proto to print the protocol but our
local copy proto that we very carefully set beforehands. skw being NULL is perfectly valid there. Obtained from: OpenBSD (henning)
This commit is contained in:
parent
36e9c2cef0
commit
c90369f880
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295838
@ -1848,7 +1848,7 @@ pf_print_state_parts(struct pf_state *s,
|
||||
printf("ICMPv6");
|
||||
break;
|
||||
default:
|
||||
printf("%u", skw->proto);
|
||||
printf("%u", proto);
|
||||
break;
|
||||
}
|
||||
switch (dir) {
|
||||
|
Loading…
Reference in New Issue
Block a user