diff --git a/Makefile b/Makefile index 8e678352..7bfcade8 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ $(LIBPCAP_OBJ): $(LIBPCAP_SRC)/pcap.h $(wildcard $(LIBPCAP_SRC)/*.[ch]) | $(LIBP cd $(LIBPCAP_SRC) && \ sh autogen.sh && \ CC=$(LIBPCAP_CC) ./configure --disable-shared --disable-usb --disable-netmap --disable-bluetooth --disable-dbus --without-libnl \ - --host=$(LIBPCAP_ARCH) && \ + --disable-rdma --host=$(LIBPCAP_ARCH) && \ $(MAKE) && \ $(MAKE) install prefix=$(LIBPCAP_DIST_DIR) diff --git a/testdata/test_run_with_docker.sh b/testdata/test_run_with_docker.sh index edeeb5c8..62a43dd5 100644 --- a/testdata/test_run_with_docker.sh +++ b/testdata/test_run_with_docker.sh @@ -14,7 +14,7 @@ export TMP="/tmp/" function test_ptcpdump() { - timeout 30s ${CMD} -c 1 -v -i any --print -w "${FNAME}" \ + timeout 60s ${CMD} -c 1 -v -i any --print -w "${FNAME}" \ 'dst host 1.1.1.1 and tcp[tcpflags] = tcp-syn' | tee "${LNAME}" & sleep 10 curl -m 10 1.1.1.1 &>/dev/null || true