Index: Makefile =================================================================== RCS file: /usr/store/mlaier/fcvs/ports/sysutils/pfstat/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 7 Aug 2006 19:42:31 -0000 1.9 +++ Makefile 16 Dec 2006 01:47:44 -0000 @@ -7,7 +7,7 @@ PORTNAME= pfstat PORTVERSION= 2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils net MASTER_SITES= http://www.benzedrine.cx/ DISTNAME= ${PORTNAME}-${PORTVERSION} Index: files/patch-pf.c =================================================================== RCS file: /usr/store/mlaier/fcvs/ports/sysutils/pfstat/files/patch-pf.c,v retrieving revision 1.1 diff -u -r1.1 patch-pf.c --- files/patch-pf.c 24 Jul 2006 14:51:48 -0000 1.1 +++ files/patch-pf.c 16 Dec 2006 01:47:26 -0000 @@ -1,6 +1,19 @@ --- pf.c.orig Thu May 11 23:41:07 2006 -+++ pf.c Fri Jul 7 21:49:20 2006 -@@ -144,23 +144,24 @@ ++++ pf.c Mon Dec 11 21:08:31 2006 +@@ -67,10 +67,8 @@ + + /* first, find out how many queues there are */ + memset(&pa, 0, sizeof(pa)); +- if (ioctl(fd, DIOCGETALTQS, &pa)) { +- fprintf(stderr, "ioctl: DIOCGETALTQS: %s\n", strerror(errno)); +- return (1); +- } ++ if (ioctl(fd, DIOCGETALTQS, &pa)) ++ return (0); + mnr = pa.nr; + + /* fetch each of those queues */ +@@ -144,23 +142,24 @@ query_ifaces(int fd, void (*cb)(int, const char *, int, double)) { struct pfioc_iface io;