aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/trpt
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2006-07-27 14:49:51 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2006-07-27 14:49:51 +0000
commit4fb4614daa4859637315f4f923a824c3e7d6ca20 (patch)
tree985f0617f19eb48fae1a6654a0c1353972e2ba70 /usr.sbin/trpt
parent4cfa5e01351ed35b44a737a462ed89e216d4936b (diff)
downloadsrc-4fb4614daa4859637315f4f923a824c3e7d6ca20.tar.gz
src-4fb4614daa4859637315f4f923a824c3e7d6ca20.zip
Fix build w/o INET6.
Notes
Notes: svn path=/head/; revision=160752
Diffstat (limited to 'usr.sbin/trpt')
-rw-r--r--usr.sbin/trpt/trpt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c
index 2d740baf05ab..6339776a59d5 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;