mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
libpcap: enable remote capture support
This commit is contained in:
parent
1770fdd319
commit
27ed0acf3b
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2006-2013 OpenWrt.org
|
||||
# Copyright (C) 2006-2022 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
|
@ -0,0 +1,19 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -200,15 +200,7 @@ option(NO_PROTOCHAIN "Disable protochain
|
||||
#
|
||||
set(PCAP_TYPE "" CACHE STRING "Packet capture type")
|
||||
|
||||
-#
|
||||
-# Default to having remote capture support on Windows and, for now, to
|
||||
-# not having it on UN*X.
|
||||
-#
|
||||
-if(WIN32)
|
||||
- option(ENABLE_REMOTE "Enable remote capture" ON)
|
||||
-else()
|
||||
- option(ENABLE_REMOTE "Enable remote capture" OFF)
|
||||
-endif(WIN32)
|
||||
+option(ENABLE_REMOTE "Enable remote capture" ON)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
option(BUILD_WITH_LIBNL "Build with libnl" ON)
|
Loading…
Reference in New Issue
Block a user