-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
querierctl: Fix handling of bigger interface indexes in router port p…
…arsing Follow up to g97a532a Keeping track of every possible interface index using a bitmap would require many many bits on the stack. A better data structure would possibly be a hashmap, but a pragmatic aproach at least for now is to just sort the input before parsing, and since we are already fork a shell we can just pipe to sort(1). This patch introduces jq as a dependency. JSON is the only supported machine friendly output format from iproute2 and jq is already available on the current known targets of querierd. Signed-off-by: Jacques de Laval <[email protected]>
- Loading branch information
Showing
3 changed files
with
52 additions
and
163 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 was deleted.
Oops, something went wrong.
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