]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Split pf_check_reload check and check timer in process_coarse_timers
authorArne Schwabe <arne@rfc2549.org>
Mon, 10 Aug 2020 14:36:57 +0000 (16:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 10 Aug 2020 16:35:37 +0000 (18:35 +0200)
commitce7ddaaf314553b6a4228f6bd4593b0a0a4badb4
tree0adf6e0520d8feac97be6fa63e0342cd98af8150
parentfeacd01c584898977c3450bf48d1ea5cbb9029f1
Split pf_check_reload check and check timer in process_coarse_timers

This moves the timer check into process_coarse_timers and makes it
in line with the other functions. The the pf.enabled check is also moved
into process_coarse_timers to make it more clear this only is used if
pf is enabled at all.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200810143707.5834-8-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20664.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/forward.c
src/openvpn/pf.c