From 738766fde3c9db956f40a952b3db453f1a728523 Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 30 Apr 2024 15:39:20 +0300 Subject: [PATCH] winws: remove unneeded code --- nfq/nfqws.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nfq/nfqws.c b/nfq/nfqws.c index fdbbcb9..ff982e3 100644 --- a/nfq/nfqws.c +++ b/nfq/nfqws.c @@ -720,12 +720,6 @@ static bool wf_make_filter( return true; } -bool WinSrvInstall(const char *name, const char *binpath) -{ - return false; -} - - #endif @@ -842,7 +836,7 @@ int main(int argc, char **argv) char pidfile[256]; #ifdef __CYGWIN__ char windivert_filter[8192], wf_pf_tcp_src[256], wf_pf_tcp_dst[256], wf_pf_udp_src[256], wf_pf_udp_dst[256], wf_save_file[256]; - bool wf_ipv4=true, wf_ipv6=true, srv_inst=false, srv_del=false; + bool wf_ipv4=true, wf_ipv6=true; unsigned int IfIdx=0, SubIfIdx=0; *windivert_filter = *wf_pf_tcp_src = *wf_pf_tcp_dst = *wf_pf_udp_src = *wf_pf_udp_dst = *wf_save_file = 0; #endif