From e630f81c6e6b25dfceda7f92840e4ca9db4333eb Mon Sep 17 00:00:00 2001 From: wangyu- Date: Sun, 17 Jun 2018 04:21:51 -0500 Subject: [PATCH] trival --- main.cpp | 2 +- makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 34caaf5..6743d76 100755 --- a/main.cpp +++ b/main.cpp @@ -785,7 +785,7 @@ int client_event_loop() if(strcmp(dev,"")==0) { - mylog(log_info,"--dev have not been set, trying to detect automatically, avaliable deives:\n",dev); + mylog(log_info,"--dev have not been set, trying to detect automatically, avaliable deives:\n"); mylog(log_info,"avaliable deives(and ip address):\n"); diff --git a/makefile b/makefile index 782d0b2..8b93b88 100755 --- a/makefile +++ b/makefile @@ -62,7 +62,7 @@ fast: git_version ${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -ggdb debug: git_version rm -f ${NAME} - ${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -Wformat-nonliteral -D MY_DEBUG + ${cc_local} -o ${NAME} -I. ${SOURCES} ${PCAP} ${LIBNET} ${FLAGS} -lrt -ggdb -static -O2 -Wformat-nonliteral -D MY_DEBUG debug2: git_version rm -f ${NAME} ${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -Wformat-nonliteral -ggdb