Projet

Général

Profil

« Précédent | Suivant » 

Révision 2d5fd3c2

Ajouté par Ermal il y a plus de 9 ans

Remove function that is not implemented properly. Nothing seems to use it.

Voir les différences:

etc/inc/interfaces.inc
4491 4491
	return `/sbin/ifconfig | grep "carp:" | wc -l`;
4492 4492
}
4493 4493

  
4494
function get_all_carp_interfaces() {
4495
    trigger_error("Broken function get_all_carp_interfaces() called. Remo", E_USER_NOTICE);
4496
	$ints = str_replace("\n", " ", `ifconfig | grep "carp:" -B2 | grep ": flag" | cut -d: -f1`);
4497
	$ints = explode(" ", $ints);
4498
	return $ints;
4499
}
4500

  
4501 4494
/*
4502 4495
 * find_carp_interface($ip): return the carp interface where an ip is defined
4503 4496
 */

Formats disponibles : Unified diff