HomeFreeBSD

pfctl: Fix uninitialised veriable

Description

pfctl: Fix uninitialised veriable

In pfctl_set_debug() we used 'level' without ever initialising it.
We correctly parsed the option, but them failed to actually assign the parsed
value to 'level' before performing to ioctl() to configure the debug level.

PR: 202996
Submitted by: Andrej Kolontai

Details

Provenance
kpAuthored on
Parents
rS290235: MFH r290233
Branches
Unknown
Tags
Unknown