]> git.99rst.org Git - openwrt-packages.git/commit
libreswan: fix default subnet matching
authorDharmik Parmar <redacted>
Fri, 19 Jun 2026 13:50:32 +0000 (19:20 +0530)
committerJosef Schlehofer <redacted>
Fri, 10 Jul 2026 18:59:58 +0000 (20:59 +0200)
commit527c1f1183c9522b58d892989406a0c75f6105ca
tree5348fbc0ea53f4fd7b9d49656d0886d6f01f2065
parente698f817af77c084bbc53153d88d24d81f4efe92
libreswan: fix default subnet matching

Match only explicit default-route subnet tokens when normalizing leftsubnets and rightsubnets.

The previous regex treated dots as wildcards.

Values such as 10.250.0.0/16 and 10.0.0.0/8 were rewritten to 0.0.0.0/0.

Fixes: https://github.com/openwrt/openwrt/issues/23795
Signed-off-by: Dharmik Parmar <redacted>
net/libreswan/Makefile
net/libreswan/files/etc/init.d/ipsec
git clone https://git.99rst.org/PROJECT