diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | anytun.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 \ @@ -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; |