aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pftop/files
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2005-05-05 01:16:23 +0800
committermlaier <mlaier@FreeBSD.org>2005-05-05 01:16:23 +0800
commitdad92ef376a21f7e98e9ab426852295b87b9191d (patch)
tree976a65fd522f4e9632d0e205cad2cf084d798e76 /sysutils/pftop/files
parentc68688fc429540f7800a3b480de156f990b97618 (diff)
downloadfreebsd-ports-gnome-dad92ef376a21f7e98e9ab426852295b87b9191d.tar.gz
freebsd-ports-gnome-dad92ef376a21f7e98e9ab426852295b87b9191d.tar.zst
freebsd-ports-gnome-dad92ef376a21f7e98e9ab426852295b87b9191d.zip
Update pftop for the pf 3.7 import.
Submitted by: Edwin Brown <edwin(!)brown(at)gmail(!)com> (w/changes) Approved by: pav
Diffstat (limited to 'sysutils/pftop/files')
-rw-r--r--sysutils/pftop/files/patch-aa10
-rw-r--r--sysutils/pftop/files/patch-ab30
2 files changed, 33 insertions, 7 deletions
diff --git a/sysutils/pftop/files/patch-aa b/sysutils/pftop/files/patch-aa
index 419d0ba1a47a..3016c1a35c1c 100644
--- a/sysutils/pftop/files/patch-aa
+++ b/sysutils/pftop/files/patch-aa
@@ -1,11 +1,13 @@
---- config.h.orig Sat Sep 27 14:21:58 2003
-+++ config.h Sat Sep 27 14:22:21 2003
-@@ -24,7 +24,7 @@
+--- config.h.orig Tue Aug 5 03:19:58 2003
++++ config.h Wed May 4 18:36:37 2005
+@@ -24,8 +24,8 @@
#if OS_LEVEL > 32
#define HAVE_ADDR_MASK
#define HAVE_ADDR_TYPE
-#define HAVE_ALTQ
+-#define HAVE_RULE_ANCHOR
+/* #define HAVE_ALTQ */
- #define HAVE_RULE_ANCHOR
++/* #define HAVE_RULE_ANCHOR */
#define HAVE_RULE_TOS
#endif
+
diff --git a/sysutils/pftop/files/patch-ab b/sysutils/pftop/files/patch-ab
index 82a0772f17b1..7cb45afb7940 100644
--- a/sysutils/pftop/files/patch-ab
+++ b/sysutils/pftop/files/patch-ab
@@ -1,6 +1,30 @@
---- ../pftop-0.4.orig/pftop.c Tue Aug 5 10:20:39 2003
-+++ ./pftop.c Fri Sep 26 13:03:55 2003
-@@ -1983,10 +1983,10 @@
+--- pftop.c.orig Tue Aug 5 03:20:39 2003
++++ pftop.c Wed May 4 18:41:13 2005
+@@ -1802,7 +1802,11 @@
+ PF_AZERO(PT_MASK(src), AF_INET6))
+ tbprintf("any ");
+ else {
++#if OS_LEVEL > 35
++ if (src->neg)
++#else
+ if (src->not)
++#endif
+ tbprintf("! ");
+ #ifdef HAVE_ADDR_WRAP
+ tb_print_addrw(&src->addr, PT_MASK(src), af);
+@@ -1823,7 +1827,11 @@
+ PF_AZERO(PT_MASK(dst), AF_INET6))
+ tbprintf("any ");
+ else {
++#if OS_LEVEL > 35
++ if (dst->neg)
++#else
+ if (dst->not)
++#endif
+ tbprintf("! ");
+ #ifdef HAVE_ADDR_WRAP
+ tb_print_addrw(&dst->addr, PT_MASK(dst), af);
+@@ -1983,10 +1991,10 @@
#ifdef HAVE_RULE_UGID
if (pr->uid.op)
tb_print_ugid(pr->uid.op, pr->uid.uid[0], pr->uid.uid[1],