mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-12-19 08:31:32 +03:00
src/Cedar/Proto_IPsec" remove unused function
found by cppcheck [src/Cedar/Proto_IPsec.c:120]: (style) The function 'IPSecSetDisable' is never used.
This commit is contained in:
@ -116,13 +116,6 @@
|
||||
|
||||
static bool ipsec_disable = false;
|
||||
|
||||
// Disabling whole IPsec
|
||||
void IPSecSetDisable(bool b)
|
||||
{
|
||||
ipsec_disable = b;
|
||||
}
|
||||
|
||||
|
||||
// Monitor the IPsec service of the OS, and stop it if it will conflict
|
||||
void IPsecOsServiceCheckThread(THREAD *t, void *p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user