mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 18:19:53 +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:
parent
162a181b04
commit
dcf5c57fc2
@ -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)
|
||||
{
|
||||
|
@ -198,7 +198,6 @@ void AddEtherIPId(IPSEC_SERVER *s, ETHERIP_ID *id);
|
||||
bool DeleteEtherIPId(IPSEC_SERVER *s, char *id_str);
|
||||
void IPsecOsServiceCheckThread(THREAD *t, void *p);
|
||||
bool IPsecCheckOsService(IPSEC_SERVER *s);
|
||||
void IPSecSetDisable(bool b);
|
||||
|
||||
|
||||
#endif // PROTO_IPSEC_H
|
||||
|
Loading…
Reference in New Issue
Block a user