Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core "net:" statistics: Fix an integer signedness bug
Due to runaway usage of bitwise shifting, the byte matching code would fail to work for interfaces having low order bytes with greater values than 128 (e.g. udp:31.32.33.147:5060). Consequently, all "net:" statistics for them would show up as zeroes. Thanks to Bogdan and Răzvan for discovering and troubleshooting (cherry picked from commit 009691c)
- Loading branch information
1 parent
05ea491
commit 40b6ce5
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters