diff options
author | mlaier <mlaier@FreeBSD.org> | 2005-12-25 22:57:08 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2005-12-25 22:57:08 +0000 |
commit | 74c57f2ec087f221b0548ee90a5d191a21a1ab49 (patch) | |
tree | 56eb6f17f47f5b56df7cf9937caa21690f695356 /sys/contrib/pf | |
parent | d03771dd86be794cb4a83a8e24605c744cbe3219 (diff) | |
download | FreeBSD-src-74c57f2ec087f221b0548ee90a5d191a21a1ab49.zip FreeBSD-src-74c57f2ec087f221b0548ee90a5d191a21a1ab49.tar.gz |
Fix build after timeval.tv_sec changed from long to time_t.
Diffstat (limited to 'sys/contrib/pf')
-rw-r--r-- | sys/contrib/pf/net/pf_norm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/contrib/pf/net/pf_norm.c b/sys/contrib/pf/net/pf_norm.c index 34aea84..7312ecd 100644 --- a/sys/contrib/pf/net/pf_norm.c +++ b/sys/contrib/pf/net/pf_norm.c @@ -75,6 +75,8 @@ #include <net/pfvar.h> #ifndef __FreeBSD__ +#include <inttypes.h> + struct pf_frent { LIST_ENTRY(pf_frent) fr_next; struct ip *fr_ip; @@ -1815,8 +1817,9 @@ pf_normalize_tcp_stateful(struct mbuf *m, int off, struct pf_pdesc *pd, SEQ_LT(tsecr, dst->scrub->pfss_tsval0)? '3' : ' ')); #ifdef __FreeBSD__ DPFPRINTF((" tsval: %u tsecr: %u +ticks: %u " - "idle: %lus %lums\n", - tsval, tsecr, tsval_from_last, delta_ts.tv_sec, + "idle: %jus %lums\n", + tsval, tsecr, tsval_from_last, + (uintmax_t)delta_ts.tv_sec, delta_ts.tv_usec / 1000)); DPFPRINTF((" src->tsval: %u tsecr: %u\n", src->scrub->pfss_tsval, src->scrub->pfss_tsecr)); |