tcpdump mailing list archives

[PATCH] Recent checkin breaks build


From: Stephen Donnelly <stephen () endace com>
Date: Fri, 05 Oct 2007 09:58:36 +1300

Unmatched parenthesis.

Index: pcap/pcap.h
===================================================================
RCS file: /tcpdump/master/libpcap/pcap/pcap.h,v
retrieving revision 1.3
diff -u -r1.3 pcap.h
--- pcap/pcap.h 29 Sep 2007 19:33:29 -0000      1.3
+++ pcap/pcap.h 4 Oct 2007 20:53:48 -0000
@@ -128,7 +128,7 @@
  */
 #define LT_FCS_LENGTH_PRESENT(x)       ((x) & 0x04000000)
 #define LT_FCS_LENGTH(x)               (((x) & 0xF0000000) >> 28)
-#define LT_FCS_DATALINK_EXT(x)         (((x) & 0xF) << 28) |
0x04000000)
+#define LT_FCS_DATALINK_EXT(x)         ((((x) & 0xF) << 28) |
0x04000000)

 typedef enum {
        PCAP_D_INOUT = 0,

-- 
-----------------------------------------------------------------------
    Stephen Donnelly BCMS PhD           email: sfd () endace com
    Endace Technology Ltd               phone: +64 7 839 0540
    Hamilton, New Zealand               cell:  +64 21 1104378
-----------------------------------------------------------------------

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: