Projet

Général

Profil

« Précédent | Suivant » 

Révision 6ae8b844

Ajouté par Ermal il y a presque 10 ans

Some adjustments to the code for logging

Voir les différences:

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

Formats disponibles : Unified diff