Project

General

Profile

Actions

Bug #7379

closed

Virtual IPs/Proxy ARP: Not defined pid file on starting choparp.

Added by aLexander Panfilov over 7 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Virtual IP Addresses
Target version:
Start date:
03/12/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

Not defined pid file on starting choparp. The pfSense may not kill the program to reconfiguration.

--- interfaces.inc.orig 2017-03-12 18:56:36.471976000 +0300
+++ interfaces.inc 2017-03-12 19:32:14.875358000 +0300
@ -2248,7 +2248,9 @
if (!is_ipaddr($paaifip)) {
return;
}
- $args = get_real_interface($interface) . " auto";
+ $vipif = get_real_interface($interface);
+ $args = "-p {$g['varrun_path']}/choparp_{$vipif}.pid ";
+ $args .= $vipif . " auto";
foreach ($paa[$interface] as $paent) {
if (isset($paent['subnet'])) {
$args .= " " . escapeshellarg("{$paent['subnet']}/{$paent['subnet_bits']}");
@ -2264,7 +2266,9 @
if (!is_ipaddr($paaifip)) {
continue;
}
- $args = get_real_interface($paif) . " auto";
+ $vipif = get_real_interface($interface);
+ $args = "-p {$g['varrun_path']}/choparp_{$vipif}.pid ";
+ $args .= $vipif . " auto";
foreach ($paents as $paent) {
if (isset($paent['subnet'])) {
$args .= " " . escapeshellarg("{$paent['subnet']}/{$paent['subnet_bits']}");

Actions

Also available in: Atom PDF