]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r290236
authorkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Dec 2015 21:02:53 +0000 (21:02 +0000)
committerkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Dec 2015 21:02:53 +0000 (21:02 +0000)
commitadcf3b97577c180099c15b9438d7c7feb881b8bf
treef14e590725531f9b9646e9f54db08d0a249f97ac
parent76145c66037651512a73877c86cec6d2338a4ca6
MFC r290236

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

git-svn-id: svn://svn.freebsd.org/base/stable/10@292288 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/pfctl/pfctl.c