Project

General

Profile

« Previous | Next » 

Revision 9b391783

Added by Christopher Cope almost 3 years ago

Improve set_ipv6routes_mtu checks. Fixes #13675

View differences:

src/etc/inc/util.inc
2922 2922
	foreach ($a_gateways as $gate) {
2923 2923
		foreach ($a_staticroutes as $sroute) {
2924 2924
			if (($gate['interface'] == $interface) &&
2925
			    ($sroute['gateway'] == $gate['name'])) {
2925
			    ($sroute['gateway'] == $gate['name']) &&
2926
			    (is_ipaddrv6($gate['gateway']))) {
2926 2927
				$tgt = $sroute['network'];
2927 2928
				$gateway = $gate['gateway'];
2928 2929
				$ipv6mturoutes[$tgt] = $gateway;

Also available in: Unified diff