Révision 30c591d6
Ajouté par Ermal il y a plus de 9 ans
etc/inc/ipsec.inc | ||
---|---|---|
29 | 29 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
30 | 30 |
POSSIBILITY OF SUCH DAMAGE. |
31 | 31 |
|
32 |
pfSense_BUILDER_BINARIES: /usr/local/sbin/setkey
|
|
32 |
pfSense_BUILDER_BINARIES: /sbin/setkey |
|
33 | 33 |
pfSense_MODULE: ipsec |
34 | 34 |
|
35 | 35 |
*/ |
... | ... | |
498 | 498 |
*/ |
499 | 499 |
function ipsec_dump_spd() |
500 | 500 |
{ |
501 |
$fd = @popen("/usr/local/sbin/setkey -DP", "r");
|
|
501 |
$fd = @popen("/sbin/setkey -DP", "r"); |
|
502 | 502 |
$spd = array(); |
503 | 503 |
if ($fd) { |
504 | 504 |
while (!feof($fd)) { |
... | ... | |
548 | 548 |
*/ |
549 | 549 |
function ipsec_dump_sad() |
550 | 550 |
{ |
551 |
$fd = @popen("/usr/local/sbin/setkey -D", "r");
|
|
551 |
$fd = @popen("/sbin/setkey -D", "r"); |
|
552 | 552 |
$sad = array(); |
553 | 553 |
if ($fd) { |
554 | 554 |
while (!feof($fd)) { |
Formats disponibles : Unified diff
Use proper path to setkey now that ipsec-tools are not used anymore