Projet

Général

Profil

« Précédent | Suivant » 

Révision 7e7f07ae

Ajouté par Ermal il y a plus de 9 ans

This really does not need the =

Voir les différences:

etc/inc/vpn.inc
52 52
			mwexec("/usr/local/sbin/ipsec stroke loglevel {$lkey} -- -1", false);
53 53
		else if (is_numeric($config['ipsec']["ipsec_{$lkey}"]) &&
54 54
		    intval($config['ipsec']["ipsec_{$lkey}"]) >= 1 && intval($config['ipsec']["ipsec_{$lkey}"]) <= 5)
55
			$forconfig ? $cfgtext[] = "${lkey} = " . (intval($config['ipsec']["ipsec_{$lkey}"]) - 1) :
55
			$forconfig ? $cfgtext[] = "${lkey} " . (intval($config['ipsec']["ipsec_{$lkey}"]) - 1) :
56 56
				mwexec("/usr/local/sbin/ipsec stroke loglevel {$lkey} " . (intval($config['ipsec']["ipsec_{$lkey}"]) - 1) , false);
57 57
	}
58 58
	if ($forconfig)

Formats disponibles : Unified diff