]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move run_up_down() to init.c
authorSteffan Karger <steffan.karger@fox-it.com>
Tue, 15 Aug 2017 15:39:46 +0000 (17:39 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Wed, 16 Aug 2017 14:57:48 +0000 (16:57 +0200)
commit4a9d1d70d5b0ff04dbf26ba7e679733a54c694b6
treed29c95840cd5887dae939d1c4581501797a8a893
parent299a8f8f1aa10b5b0d006ae77c26de33d55d4a25
Move run_up_down() to init.c

This function is only used in init.c, and is not easy to fit into a
specific category because it both runs scripts and plugin hooks.  Making
it static in init.c is probably the best place for this function.

(I think we should find a better place for everything currently in misc.c,
and get rid of it all together.  This patch is part of that effort.)

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <1502811586-19578-1-git-send-email-steffan.karger@fox-it.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15256.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
src/openvpn/init.c
src/openvpn/misc.c
src/openvpn/misc.h