Closed Hologos closed 5 years ago
In macOS Mojave, discovering default doesn't work:
$ sudo traffic-splitter -d en2 -t en0 -c ~/.config/traffic-splitter/work.yml Password: Transforming routing table No default gateway for default interface found.
The error is caused by regex that anchors the interface name to the end of line. The line now optionally contain whitespaces.
https://github.com/Hologos/traffic-splitter/blob/38594e77957a96542c63c9e50a831e59962cf635/libs/routing-table.sh#L53
In macOS Mojave, discovering default doesn't work:
The error is caused by regex that anchors the interface name to the end of line. The line now optionally contain whitespaces.
https://github.com/Hologos/traffic-splitter/blob/38594e77957a96542c63c9e50a831e59962cf635/libs/routing-table.sh#L53