stats were calculated for the wrong direction.
From Martin Visser
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7689
f5534014-38df-0310-8fa8-
9805f1628bb7
/* tap-iousers.c
* iostat 2003 Ronnie Sahlberg
*
- * $Id: tap-iousers.c,v 1.6 2003/04/23 08:20:01 guy Exp $
+ * $Id: tap-iousers.c,v 1.7 2003/05/19 11:16:29 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
iui->bytes2=0;
}
- if(!memcmp(&iph->ip_src,iui->addr1,4)){
+ if(!memcmp(&iph->ip_dst,iui->addr1,4)){
iui->frames1++;
iui->bytes1+=pinfo->fd->pkt_len;
} else {