Projet

Général

Profil

« Précédent | Suivant » 

Révision 466cabed

Ajouté par Matt Smith il y a presque 10 ans

allow ipaliases to be configured on lo0

Voir les différences:

etc/inc/interfaces.inc
2103 2103
	if ($vip['mode'] != "ipalias")
2104 2104
		return;
2105 2105

  
2106
	if (!isset($config['interfaces'][$vip['interface']]))
2106
	if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]))
2107 2107
		return;
2108 2108

  
2109
	if (!isset($config['interfaces'][$vip['interface']]['enable']))
2109
	if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]['enable']))
2110 2110
		return;
2111 2111

  
2112 2112
	$if = get_real_interface($vip['interface']);

Formats disponibles : Unified diff