From 3fedbf465fead7aabdbccda296f79f3a1f24aa78 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Fri, 16 Aug 2019 13:47:50 +0200 Subject: [PATCH] Remove trailing spaces/tabs --- CMakeLists.txt | 4 ++-- pcap-dpdk.c | 2 +- pcap-filter.manmisc.in | 2 +- pcap-haiku.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be65e5d275..75a786c414 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,12 +48,12 @@ if(MSVC) message(FATAL_ERROR "Visual Studio 2015 or later is required") endif() - # + # # Treat source files as being in UTF-8 with MSVC if it's not using # the Clang front end. # We assume that UTF-8 source is OK with other compilers and with # MSVC if it's using the Clang front end. - # + # if(NOT ${CMAKE_C_COMPILER} MATCHES "clang*") set(C_ADDITIONAL_FLAGS "${C_ADDITIONAL_FLAGS} /utf-8") endif(NOT ${CMAKE_C_COMPILER} MATCHES "clang*") diff --git a/pcap-dpdk.c b/pcap-dpdk.c index ed33ff3246..3a8158d7a5 100644 --- a/pcap-dpdk.c +++ b/pcap-dpdk.c @@ -758,7 +758,7 @@ static int pcap_dpdk_activate(pcap_t *p) p->opt.device); return PCAP_ERROR_NO_SUCH_DEVICE; } - + ret = dpdk_init_timer(pd); if (ret<0) { diff --git a/pcap-filter.manmisc.in b/pcap-filter.manmisc.in index 818cbd6c81..87d435c103 100644 --- a/pcap-filter.manmisc.in +++ b/pcap-filter.manmisc.in @@ -878,7 +878,7 @@ The following ICMP type field values are available: \fBicmp-echoreply\fP, \fBicmp-maskreq\fP, \fBicmp-maskreply\fP. The following ICMPv6 type fields are available: \fBicmp6-destinationrunreach\fP, -\fBicmp6-packettoobig\fP, \fBicmp6-timeexceeded\fP, +\fBicmp6-packettoobig\fP, \fBicmp6-timeexceeded\fP, \fBicmp6-parameterproblem\fP, \fBicmp6-echo\fP, \fBicmp6-echoreply\fP, \fBicmp6-multicastlistenerquery\fP, \fBicmp6-multicastlistenerreportv1\fP, \fBicmp6-multicastlistenerdone\fP, diff --git a/pcap-haiku.cpp b/pcap-haiku.cpp index f81e38d747..b31e1ee12d 100644 --- a/pcap-haiku.cpp +++ b/pcap-haiku.cpp @@ -166,7 +166,7 @@ pcap_activate_haiku(pcap_t *handle) pcap_strerror(errno) ); return PCAP_ERROR; } - + handle->bufsize = 65536; // TODO: should be determined by interface MTU @@ -248,7 +248,7 @@ pcap_create_interface(const char *device, char *errorBuffer) handle->selectable_fd = socket; handle->fd = socket; - + handle->activate_op = pcap_activate_haiku; return handle;