[server] Bug fix to not include pcap.h in --enable-udp-server mode
This commit is contained in:
parent
987455b902
commit
1ce800446d
4
CREDITS
4
CREDITS
@ -209,3 +209,7 @@ Grant Pannell
|
|||||||
and individual IP addresses can be specified as well. Also, multiple IP's
|
and individual IP addresses can be specified as well. Also, multiple IP's
|
||||||
and/or networks can be defined as a comma separated list (e.g.
|
and/or networks can be defined as a comma separated list (e.g.
|
||||||
"192.168.10.0/24,10.1.1.123").
|
"192.168.10.0/24,10.1.1.123").
|
||||||
|
|
||||||
|
Alexander Kozhevnikov
|
||||||
|
- Reported a bug when fwknop is compiled with --enable-udp-server where
|
||||||
|
the server was including pcap.h
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
fwknop-2.6.6 (02//2015):
|
||||||
|
- [server] Bug fix when compiled with --enable-udp-server to not include
|
||||||
|
pcap.h, which is likely not installed whenever libpcap is also not
|
||||||
|
installed. This bug was reported by Alexander Kozhevnikov.
|
||||||
|
|
||||||
fwknop-2.6.5 (12/16/2014):
|
fwknop-2.6.5 (12/16/2014):
|
||||||
- [server] (Grant Pannell) Added a new access.conf variable "DESTINATION"
|
- [server] (Grant Pannell) Added a new access.conf variable "DESTINATION"
|
||||||
to define the destination address for which an SPA packet will be
|
to define the destination address for which an SPA packet will be
|
||||||
|
|||||||
@ -29,6 +29,7 @@
|
|||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if USE_LIBPCAP
|
||||||
|
|
||||||
#include <pcap.h>
|
#include <pcap.h>
|
||||||
|
|
||||||
@ -45,8 +46,6 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_LIBPCAP
|
|
||||||
|
|
||||||
/* The pcap capture routine.
|
/* The pcap capture routine.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
|
|||||||
@ -31,6 +31,9 @@
|
|||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if USE_LIBPCAP
|
||||||
|
|
||||||
#include <pcap.h>
|
#include <pcap.h>
|
||||||
|
|
||||||
#include "fwknopd_common.h"
|
#include "fwknopd_common.h"
|
||||||
@ -228,4 +231,6 @@ process_packet(unsigned char *args, const struct pcap_pkthdr *packet_header,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* USE_LIBPCAP */
|
||||||
|
|
||||||
/***EOF***/
|
/***EOF***/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user