[Guessnet-devel] [svn] r162 - in trunk: . src
Enrico Zini
enrico at costa.debian.org
Sun Sep 3 09:29:39 UTC 2006
Author: enrico
Date: Sun Sep 3 09:29:38 2006
New Revision: 162
Modified:
trunk/ (props changed)
trunk/src/NetWatcher.cc
Log:
r424 at viaza: enrico | 2006-09-03 11:28:57 +0200
Should now build on g++ 4.2
Modified: trunk/src/NetWatcher.cc
==============================================================================
--- trunk/src/NetWatcher.cc (original)
+++ trunk/src/NetWatcher.cc Sun Sep 3 09:29:38 2006
@@ -41,7 +41,9 @@
class NetWatcherImpl : public Thread
{
protected:
- static const int captureSize = LIBNET_ETH_H + (LIBNET_ARP_H >? LIBNET_IPV4_H) + (LIBNET_UDP_H >? ICMP_ECHO) + 300;
+ static const int captureSize = LIBNET_ETH_H + \
+ (LIBNET_ARP_H > LIBNET_IPV4_H ? LIBNET_ARP_H : LIBNET_IPV4_H) + \
+ (LIBNET_UDP_H > ICMP_ECHO ? LIBNET_UDP_H : ICMP_ECHO) + 300;
int _ref;
string iface;
More information about the Guessnet-devel
mailing list