Projet

Général

Profil

« Précédent | Suivant » 

Révision 8ff85c39

Ajouté par Ermal il y a plus de 9 ans

rename interfaces_carp_setup to interfaces_sync_setup and call it during bootup since it does not only relate to carp interfaces.

Voir les différences:

etc/inc/interfaces.inc
1942 1942
	return 1;
1943 1943
}
1944 1944

  
1945
function interfaces_carp_setup() {
1945
function interfaces_sync_setup() {
1946 1946
	global $g, $config;
1947 1947

  
1948 1948
	if (isset($config['system']['developerspew'])) {
1949 1949
		$mt = microtime();
1950
		echo "interfaces_carp_setup() being called $mt\n";
1950
		echo "interfaces_sync_setup() being called $mt\n";
1951 1951
	}
1952 1952

  
1953 1953
	if ($g['booting']) {
......
2129 2129
			}
2130 2130
		}
2131 2131
		if ($carp_setuped == true)
2132
			interfaces_carp_setup();
2132
			interfaces_sync_setup();
2133 2133
		if ($anyproxyarp == true)
2134 2134
			interface_proxyarp_configure();
2135 2135
	}

Formats disponibles : Unified diff