Thanks - I'll verify and commit unless someone beats me to it. On Mon, 14 Sep 2009, Joachim Kuebart wrote:
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;
        }
}
------------------------------------------------------------------------- | Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: | | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -------------------------------------------------------------------------