Projet

Général

Profil

« Précédent | Suivant » 

Révision 30c591d6

Ajouté par Ermal il y a plus de 9 ans

Use proper path to setkey now that ipsec-tools are not used anymore

Voir les différences:

usr/local/www/diag_ipsec_spd.php
32 32
*/
33 33

  
34 34
/*
35
	pfSense_BUILDER_BINARIES:	/usr/local/sbin/setkey
35
	pfSense_BUILDER_BINARIES:	/sbin/setkey
36 36
	pfSense_MODULE:	ipsec
37 37
*/
38 38

  
......
52 52

  
53 53
/* delete any SP? */
54 54
if ($_GET['act'] == "del") {
55
	$fd = @popen("/usr/local/sbin/setkey -c > /dev/null 2>&1", "w");
55
	$fd = @popen("/sbin/setkey -c > /dev/null 2>&1", "w");
56 56
	if ($fd) {
57 57
		fwrite($fd, "spddelete {$_GET['srcid']} {$_GET['dstid']} any -P {$_GET['dir']} ;\n");
58 58
		pclose($fd);

Formats disponibles : Unified diff