diff options
Diffstat (limited to 'net/port-mirroring/patches/020-time.patch')
-rw-r--r-- | net/port-mirroring/patches/020-time.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/port-mirroring/patches/020-time.patch b/net/port-mirroring/patches/020-time.patch index 224ed2738..63350fc9e 100644 --- a/net/port-mirroring/patches/020-time.patch +++ b/net/port-mirroring/patches/020-time.patch @@ -1,6 +1,6 @@ --- a/src/main.c +++ b/src/main.c -@@ -252,7 +252,7 @@ void packet_handler_ex(const struct pcap_pkthdr* header, const u_char* pkt_data, +@@ -252,7 +252,7 @@ void packet_handler_ex(const struct pcap if (handle == NULL || pcap_sendpacket(handle, pkt_data, header->len) != 0) { //error detected @@ -9,7 +9,7 @@ time(&nowTime); if (nowTime - cfg.init_time > ERRTIMEOUT && header->len < 1500) { -@@ -282,7 +282,7 @@ void packet_handler_ex(const struct pcap_pkthdr* header, const u_char* pkt_data, +@@ -282,7 +282,7 @@ void packet_handler_ex(const struct pcap if (handle == NULL || pcap_sendpacket(handle, buf, header->len) != 0) { //error detected |