On Tue, Jan 28, 2003 at 04:46:35PM -0500, jolan wrote:
> On Tue, Jan 28, 2003 at 10:37:30PM +0100, Henning Brauer wrote:
> > thx for the verification, I'll have a look.
> 
> fwiw, i'm seeing this too.. now that i'm looking for it :)

ok, it was a real bug. the snapshots are fine ;-)

and here's the fix...

Index: print-pflog.c
===================================================================
RCS file: /cvs/src/usr.sbin/tcpdump/print-pflog.c,v
retrieving revision 1.11
diff -u -r1.11 print-pflog.c
--- print-pflog.c       1 Jan 2003 16:55:16 -0000       1.11
+++ print-pflog.c       28 Jan 2003 22:41:37 -0000
@@ -91,7 +91,7 @@
 
                printf("rule %d/%s: ",
                    (short)ntohs(hdr->rnr), reason);
-               switch (hdr->action) {
+               switch (ntohs(hdr->action)) {
                case PF_SCRUB:
                        printf("scrub");
                        break;

Reply via email to