Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wg-quick: linux: use sed for trimming config lines
Bash's longest matching operators combined with extended globs is extremely slow for very large lines. There are probably very few people for which this is noticable but in a file with 800 AllowIPs on a single line it keeps wg-quick from stalling for 5s when performing operations.
- Loading branch information