mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
6cf7c9532f
- Add LICENSE [1] - Minor changes in files/{pkg-message.in, sancp.in} [1] - Add stage support [1] - Remove indefinite article from COMMENT - Fix build with clang PR: ports/182445 Submitted by: Paul Schmehl <pauls@utdallas.edu> (maintainer) [1] Approved by: wg/culot (mentors, implicit)
16 lines
586 B
C++
16 lines
586 B
C++
--- sancp.cc.orig 2013-10-04 17:55:19.000000000 +0000
|
|
+++ sancp.cc 2013-10-04 17:56:55.000000000 +0000
|
|
@@ -271,10 +271,10 @@
|
|
/*******************************************************************
|
|
* Function for C code to call C++ code (used by pcap_functions.c) *
|
|
*******************************************************************/
|
|
-
|
|
+
|
|
extern "C" void ProcessMyPacket(char *user, struct pcap_pkthdr * pkthdr, u_char * pkt)
|
|
{
|
|
- extern struct gvars gVars;
|
|
+ struct gvars gVars;
|
|
CBuffer *buffer;
|
|
struct cnx *new_cnx=0;
|
|
gVars.timeptr.tv_sec=pkthdr->ts.tv_sec;
|