diff options
author | Renato Botelho <renato@netgate.com> | 2017-05-09 13:43:54 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-05-09 13:43:54 -0300 |
commit | 2615ef57e21ba5ccbde76bf6d946d880152abe1f (patch) | |
tree | 0f028d26dedc1c28e32c036aa5bcd606ea99af90 | |
parent | 20e0492b5525752e39b51bcc4eecd3dc28cf89a2 (diff) | |
parent | 7d316581f4bf05613a556867b1154e4b5b842b1a (diff) | |
download | pfsense-2615ef57e21ba5ccbde76bf6d946d880152abe1f.zip pfsense-2615ef57e21ba5ccbde76bf6d946d880152abe1f.tar.gz |
Merge pull request #3721 from aaa2ppp/patch-1
-rw-r--r-- | src/etc/inc/interfaces.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 414e51f..8d7843f 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -2251,7 +2251,9 @@ function interface_proxyarp_configure($interface = "") { 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']}"); @@ -2267,7 +2269,9 @@ function interface_proxyarp_configure($interface = "") { if (!is_ipaddr($paaifip)) { continue; } - $args = get_real_interface($paif) . " auto"; + $vipif = get_real_interface($paif); + $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']}"); |