[dsc] [Dsc-maintainers] pcap.c, const struct udphdr on Debian/kFreeBSD

Duane Wessels wessels at measurement-factory.com
Tue Apr 12 16:49:04 UTC 2011




On Tue, 12 Apr 2011, Marc Haber wrote:

> The Debian/kFreeBSD porters suggest that you should check for a GNU
> libc system instead of linux. The discussion is in
> http://bugs.debian.org/622226, with a probably helpful hint in
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622226#41

change has been committed

Index: pcap.c
===================================================================
--- pcap.c      (revision 12602)
+++ pcap.c      (working copy)
@@ -77,7 +77,7 @@
  #define PPP_CONTROL_VAL       0x03     /* The control byte value */
  #endif

-#ifdef __linux__
+#ifdef __GLIBC__
  #define uh_dport dest
  #define uh_sport source
  #define th_off doff




More information about the dsc mailing list