diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 18:59:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 18:59:24 +0000 |
commit | fe227c695931034d2440f335ea30dedf69c18cd4 (patch) | |
tree | 6cb1ce8a6c0854e30d794d3e4dec549e2b6f578c /usr/local/www/diag_ipsec_spd.php | |
parent | 8022eaaafc67d39da423393c2ee16be878d509db (diff) | |
download | pfsense-fe227c695931034d2440f335ea30dedf69c18cd4.zip pfsense-fe227c695931034d2440f335ea30dedf69c18cd4.tar.gz |
Move setkey to /sbin/setkey from /usr/sbin/setkey due to FreeBSD changing the location.
Diffstat (limited to 'usr/local/www/diag_ipsec_spd.php')
-rwxr-xr-x | usr/local/www/diag_ipsec_spd.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_ipsec_spd.php b/usr/local/www/diag_ipsec_spd.php index f22d312..021fc7e 100755 --- a/usr/local/www/diag_ipsec_spd.php +++ b/usr/local/www/diag_ipsec_spd.php @@ -57,7 +57,7 @@ include("head.inc"); /* delete any SP? */ if ($_GET['act'] == "del") { - $fd = @popen("/usr/sbin/setkey -c > /dev/null 2>&1", "w"); + $fd = @popen("/sbin/setkey -c > /dev/null 2>&1", "w"); if ($fd) { fwrite($fd, "spddelete {$_GET['src']} {$_GET['dst']} any -P {$_GET['dir']} ;\n"); pclose($fd); @@ -66,7 +66,7 @@ if ($_GET['act'] == "del") { } /* query SAD */ -$fd = @popen("/usr/sbin/setkey -DP", "r"); +$fd = @popen("/sbin/setkey -DP", "r"); $spd = array(); if ($fd) { while (!feof($fd)) { |