]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl: Fix uninitialised veriable
authorKristof Provost <kp@FreeBSD.org>
Sun, 1 Nov 2015 17:20:17 +0000 (17:20 +0000)
committerKristof Provost <kp@FreeBSD.org>
Sun, 1 Nov 2015 17:20:17 +0000 (17:20 +0000)
commit3e768368d01a69c40caf0262d08605b83a7f3130
tree27059430c4ee1f72d940b06c4d29fb9d568e3fbd
parent11113be653d84cb9e73aa8ef1833c935d13623be
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
sbin/pfctl/pfctl.c