diff options
author | yar <yar@FreeBSD.org> | 2006-07-27 14:49:51 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-07-27 14:49:51 +0000 |
commit | 1ecaa827fdda9ced06ba5529dd805324a29f52fb (patch) | |
tree | 985f0617f19eb48fae1a6654a0c1353972e2ba70 | |
parent | 8bef7869abb101142e12200c14b0817d971838b9 (diff) | |
download | FreeBSD-src-1ecaa827fdda9ced06ba5529dd805324a29f52fb.zip FreeBSD-src-1ecaa827fdda9ced06ba5529dd805324a29f52fb.tar.gz |
Fix build w/o INET6.
-rw-r--r-- | usr.sbin/trpt/trpt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index 2d740ba..6339776 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -304,7 +304,11 @@ void tcp_trace(act, ostate, tp, family, ip, th, req) short act, ostate; struct tcpcb *tp; +#ifdef INET6 int family; +#else + int family __unused; +#endif void *ip; struct tcphdr *th; int req; |