Minor bug fixes:

- direction allocation in promisc mode with no net setting
- aggregate protocols if port display is turned off.
This commit is contained in:
pdw
2002-10-10 16:12:32 +00:00
parent 3dcbe7a6c1
commit 0359367dfc
2 changed files with 8 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ static void handle_ip_packet(struct ip* iptr, int hw_dir)
* it was picked up in promisc mode, and account it as incoming.
*/
else if(iptr->ip_src.s_addr < iptr->ip_dst.s_addr) {
assign_addr_pair(&ap, iptr, 0);
assign_addr_pair(&ap, iptr, 1);
direction = 0;
}
else {