-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix Linux default network interface parsing (#331)
Fixes #317 This fix resolves a problem where the header line of /proc/net/route is skipped twice when running on Linux. Additionally, this change also adds error checking to the Scanner performing the parsing operation.
- Loading branch information
Showing
3 changed files
with
55 additions
and
49 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
48 changes: 26 additions & 22 deletions
48
test/performance/vendor/github.com/nginx/agent/v2/src/core/network/network.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.