From 328ca881c5822d07a11c890a78dc9f60b24c749e Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 11 Dec 2007 10:45:52 +0000 Subject: fixed Makefile, ip detection --- Makefile | 2 +- anytun.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 16bc512..36d115e 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CCFLAGS = -g -Wall CCFLAGS += -DSOCKETS_NAMESPACE=sockets CCFLAGS += -DSOCKETS_NAMESPACE_STR='"sockets"' LD = g++ -LDFLAGS = -g -Wall -O2 -ldl -lpthread -lgcrypt -lssl +LDFLAGS = -g -Wall -O2 -ldl -lpthread -lgcrypt -lssl -lboost_serialization OPENVPNDEPS = openvpn/tun.o \ openvpn/error.o \ diff --git a/anytun.cpp b/anytun.cpp index 7bcd238..8ea3d75 100644 --- a/anytun.cpp +++ b/anytun.cpp @@ -290,7 +290,7 @@ void* receiver(void* p) } //TODO Add multi connection support here - ConnectionParam conn = param->cl.getConnection(); + ConnectionParam & conn = param->cl.getConnection(); if (!checkPacketAuthTag(pack, c, conn)) continue; -- cgit v1.2.3