-
Notifications
You must be signed in to change notification settings - Fork 3.3k
traffic for port reported too low #471
Comments
I've found overflow int64 when process is run for a long time. just couple lines to reset the trafficstats counter to 0 when close to overflow. func (pm *PasswdManager) addTraffic(port string, n int) { |
int64 represent that number from -9,223,372,036,854,775,808 ~ +9,223,372,036,854,775,807 , |
Hi, I was playing youtube video to check port traffic output, but I found the traffic is too low for video streaming compare to that iptraf has reported. I checked source code the buffer is in []byte and which means addTraffic is also in byte. Is this correct? does it have anything to do with addTraffic int and trafficStats int64?
The text was updated successfully, but these errors were encountered: