mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 20:55:13 +02:00
pknock: resolve warnings about unused variables
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
#define GROUP 1
|
#define GROUP 1
|
||||||
|
|
||||||
static struct sockaddr_nl src_addr, dest_addr;
|
static struct sockaddr_nl src_addr, dest_addr;
|
||||||
static struct msghdr msg;
|
|
||||||
static int sock_fd;
|
static int sock_fd;
|
||||||
|
|
||||||
static unsigned char *buf;
|
static unsigned char *buf;
|
||||||
@@ -25,9 +24,8 @@ int main(void)
|
|||||||
socklen_t addrlen;
|
socklen_t addrlen;
|
||||||
int status;
|
int status;
|
||||||
int group = GROUP;
|
int group = GROUP;
|
||||||
struct cn_msg *cnmsg;
|
|
||||||
|
|
||||||
int i, buf_size;
|
int buf_size;
|
||||||
|
|
||||||
const char *ip;
|
const char *ip;
|
||||||
char ipbuf[48];
|
char ipbuf[48];
|
||||||
|
Reference in New Issue
Block a user