1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net-mgmt/openbmp/files/patch-Server_src_client__thread.cpp
Luca Pizzamiglio 45a3a02fad net-mgmt/openbmp: new port
Adding openBMP, a BGP Monitor Protocol collector

Approved by:	olivier (mentor)
Sponsored by:	trivago N.V.
Differential Revision:	https://reviews.freebsd.org/D12378
2017-09-15 14:17:03 +00:00

12 lines
374 B
C++

--- Server/src/client_thread.cpp.orig 2017-09-14 09:34:45 UTC
+++ Server/src/client_thread.cpp
@@ -227,7 +227,7 @@ void *ClientThread(void *arg) {
close(sock_fds[0]);
close(sock_fds[1]);
-#ifndef __APPLE__
+#if !defined(__APPLE__) and !defined(__FreeBSD__)
} catch (abi::__forced_unwind&) {
close(sock_fds[0]);
close(sock_fds[1]);