pknock: resolve warnings about unused variables

This commit is contained in:
Jan Engelhardt
2011-01-22 17:32:28 +01:00
parent bd2e6108f3
commit ebb61aa3c9

View File

@@ -13,7 +13,6 @@
#define GROUP 1
static struct sockaddr_nl src_addr, dest_addr;
static struct msghdr msg;
static int sock_fd;
static unsigned char *buf;
@@ -25,9 +24,8 @@ int main(void)
socklen_t addrlen;
int status;
int group = GROUP;
struct cn_msg *cnmsg;
int i, buf_size;
int buf_size;
const char *ip;
char ipbuf[48];