Skip to content

Commit 706f8ff

Browse files
authored
Merge pull request #1223 from guyharris/always-define-pcap-open-etc
Define pcap_open() etc. even without remote capture.
2 parents 7d8a38a + 0eaff2d commit 706f8ff

File tree

8 files changed

+562
-517
lines changed

8 files changed

+562
-517
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2693,7 +2693,7 @@ if(ENABLE_REMOTE)
26932693
check_struct_has_member("struct msghdr" msg_flags "ftmacros.h;sys/socket.h" HAVE_STRUCT_MSGHDR_MSG_FLAGS)
26942694
cmake_pop_check_state()
26952695
set(PROJECT_SOURCE_LIST_C ${PROJECT_SOURCE_LIST_C}
2696-
pcap-new.c pcap-rpcap.c rpcap-protocol.c sockutils.c sslutils.c)
2696+
pcap-rpcap.c rpcap-protocol.c sockutils.c sslutils.c)
26972697
endif(ENABLE_REMOTE)
26982698

26992699
###################################################################

Makefile.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ EXTRA_DIST = \
321321
pcap-libdlpi.c \
322322
pcap-linux.c \
323323
pcap-namedb.h \
324-
pcap-new.c \
325324
pcap-netfilter-linux.c \
326325
pcap-netfilter-linux.h \
327326
pcap-netmap.c \

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ return 0;
19451945

19461946
AC_DEFINE(ENABLE_REMOTE,,
19471947
[Define to 1 if remote packet capture is to be supported])
1948-
REMOTE_C_SRC="$REMOTE_C_SRC pcap-new.c pcap-rpcap.c rpcap-protocol.c sockutils.c sslutils.c"
1948+
REMOTE_C_SRC="$REMOTE_C_SRC pcap-rpcap.c rpcap-protocol.c sockutils.c sslutils.c"
19491949
BUILD_RPCAPD=build-rpcapd
19501950
INSTALL_RPCAPD=install-rpcapd
19511951
;;

0 commit comments

Comments
 (0)