diff options
| author | Philip Prindeville <philipp@redfish-solutions.com> | 2021-02-15 14:51:02 -0700 |
|---|---|---|
| committer | Philip Prindeville <philipp@redfish-solutions.com> | 2021-02-16 13:32:26 -0700 |
| commit | ec72d3a9e47954f0be844fb32abb5ca1e4dda667 (patch) | |
| tree | a677c4c3a2d38a7fa94e00d2c715f958c0bb5934 /lang/python/python-wcwidth | |
| parent | 495cdbb39d0b5c332c57aab8011541842d163cd2 (diff) | |
strongswan: fix local_gateway discovery
This has been observed by myself and @luizluca: ip route get is
appending uid0 to the output, as seen from:
root@OpenWrt2:~# ip route get 1.1.1.1
1.1.1.1 via 174.27.160.1 dev eth3 src 174.27.182.184 uid 0
cache
root@OpenWrt2:~#
so the fix is an anchored match, discarding all else. Also, using
ip -o means never having to do multiline matches...
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Diffstat (limited to 'lang/python/python-wcwidth')
0 files changed, 0 insertions, 0 deletions
