diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2015-08-26 22:52:18 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2015-08-26 22:52:18 +0000 |
commit | 6eb1d5ba6459291816c87134c771dc07b1f911a8 (patch) | |
tree | 3216622bd5fd1e9722c1bad54ae072f1717bea75 /usr.bin/sockstat | |
parent | 4e13a5b0437f98072cd93378fc1be91e3879e233 (diff) | |
download | src-6eb1d5ba6459291816c87134c771dc07b1f911a8.tar.gz src-6eb1d5ba6459291816c87134c771dc07b1f911a8.zip |
Notes
Diffstat (limited to 'usr.bin/sockstat')
-rw-r--r-- | usr.bin/sockstat/sockstat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/sockstat.c index 4a309cc6f1c3..ba47d97f7012 100644 --- a/usr.bin/sockstat/sockstat.c +++ b/usr.bin/sockstat/sockstat.c @@ -542,9 +542,9 @@ gather_inet(int proto) const char *varname, *protoname; size_t len, bufsize; void *buf; - int hash, retry, state, vflag; + int hash, retry, vflag; - state = vflag = 0; + vflag = 0; if (opt_4) vflag |= INP_IPV4; if (opt_6) @@ -609,7 +609,6 @@ gather_inet(int proto) inp = &xtp->xt_inp; so = &xtp->xt_socket; protoname = xtp->xt_tp.t_flags & TF_TOE ? "toe" : "tcp"; - state = xtp->xt_tp.t_state; break; case IPPROTO_UDP: case IPPROTO_DIVERT: |