Merge branch 'pknock'

This commit is contained in:
Jan Engelhardt
2011-01-22 17:33:45 +01:00
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
# -*- Makefile -*- # -*- Makefile -*-
AM_CPPFLAGS = ${regular_CPPFLAGS}
AM_CFLAGS = ${regular_CFLAGS}
include ../../Makefile.extra include ../../Makefile.extra
noinst_PROGRAMS = pknlusr noinst_PROGRAMS = pknlusr

View File

@@ -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];