Hi,
I needed the following patch to compile -current on amd64:
Index: print-pfsync.c
===================================================================
RCS file: /pub/NetBSD-CVS/src/dist/tcpdump/print-pfsync.c,v
retrieving revision 1.1
diff -p -U8 -r1.1 print-pfsync.c
--- print-pfsync.c 14 Sep 2009 10:36:49 -0000 1.1
+++ print-pfsync.c 14 Sep 2009 13:03:52 -0000
@@ -206,17 +206,17 @@ pfsync_print(struct pfsync_header *hdr,
printf(" status: ?");
break;
}
}
break;
case PFSYNC_ACT_TDB_UPD:
for (i = 1, t = (void *)((char *)hdr + PFSYNC_HDRLEN);
i <= hdr->count && i * sizeof(*t) <= len; i++, t++)
- printf("\n\tspi: %08x rpl: %u cur_bytes: %llu",
+ printf("\n\tspi: %08x rpl: %u cur_bytes: %" PRIu64,
htonl(t->spi), htonl(t->rpl),
be64toh(t->cur_bytes));
/* XXX add dst and sproto? */
break;
default:
break;
}
}