]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/fwhosts.cgi
fwhosts.cgi: properly fetch configured IPsec N2N subnets
authorPeter Müller <peter.mueller@ipfire.org>
Thu, 22 Apr 2021 20:20:00 +0000 (22:20 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 9 Aug 2021 07:50:57 +0000 (07:50 +0000)
commit6f36132e6890f4a423de2a0df14ccf3c720110c1
tree68faa5575c1f0e2117fa88d57f43392da0c52f5b
parent9e47307d1b862d27931b0bf56bcfdc44381c9162
fwhosts.cgi: properly fetch configured IPsec N2N subnets

Previously, the getcolor() function did not correctly process IPsec
N2N connections with more than one remote network configured, resulting
in networks mistakenly marked as being part of a VPN connection, or vice
versa.

Fixes: #11235
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/fwhosts.cgi