openwrt-packages/net/strongswan/files
Philip Prindeville ec72d3a9e4 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>
2021-02-16 13:32:26 -07:00
..
etc/hotplug.d/ipsec strongswan: add openwrt hotplug script handling 2018-07-16 11:34:57 +02:00
ipsec.init strongswan: fix local_gateway discovery 2021-02-16 13:32:26 -07:00
ipsec.secrets strongswan: import, update, adopt 2014-08-17 10:11:02 +02:00
ipsec.user strongswan: import, update, adopt 2014-08-17 10:11:02 +02:00