Projet

Général

Profil

« Précédent | Suivant » 

Révision ed10564b

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
2124 2124
	if ($vip['mode'] != "ipalias")
2125 2125
		return;
2126 2126

  
2127
	if (!isset($config['interfaces'][$vip['interface']]))
2127
	if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]))
2128 2128
		return;
2129 2129

  
2130
	if (!isset($config['interfaces'][$vip['interface']]['enable']))
2130
	if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]['enable']))
2131 2131
		return;
2132 2132

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

Formats disponibles : Unified diff