[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]



The package fprobe fails to build on kfreebsd-* and applying the attached patch
seems to be sufficient to build this package fine.

However, fprobe fails to bind on kfreebsd-*:

# fprobe -i em0 localhost:555
bind(): Invalid argument

I've opened a bug [1] and have started to track down the problem in src/fprobe.c but any other help could be appreciated.

[1]: http://bugs.debian.org/605236
--- a/src/fprobe.c
+++ b/src/fprobe.c
@@ -27,6 +27,10 @@
 /* pcap_*() */
 #include <pcap.h>
+/* Compatibility *BSD/Linux */
+/* http://en.wikipedia.org/wiki/Tcphdr */
+#define __FAVOR_BSD
 /* inet_*() (Linux, FreeBSD, Solaris), getpid() */
 #include <sys/types.h>
 #include <netinet/in_systm.h>

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

Reply to: