Bug #153
closedRemoving proxy ARP VIP doesn't kill off choparp
100%
Description
When a proxy ARP VIP is removed, its choparp is left running. This appears to be because:
1) When saving changes and running interface_proxyarp_configure() the VIP is still set in the configuration
2) When applying changes, this bit of code:
if ($_POST['apply']) { if ($a_vip[$_POST['id']]) { switch ($a_vip[$_POST['id']]['mode']) { case "ipalias": interface_ipalias_configure($a_vip[$_POST['id']]); break; case "proxyarp": interface_proxyarp_configure(); break;
Gets called, but the cases fail, it doesn't have the mode anymore at that point so interface_proxyarp_configure isn't called. Manually calling interface_proxyarp_configure(); after applying changes does kill off choparp properly.
Updated by Ermal Luçi about 15 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 5d5ec271de58dd8306fa7bacfb439b07b3dd2e51.
Updated by Chris Buechler about 15 years ago
- Status changed from Resolved to New
- % Done changed from 100 to 0
This still doesn't properly kill choparp. I think now because the vip is unset before the function gets called, so again the proxyarp case isn't called.
Updated by Ermal Luçi about 15 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset d9d95b0a30c6b37c3525ee38d99495c63f7044f6.
Updated by Ermal Luçi about 15 years ago
This is the right commit.
cc76d08dcc63b628eb548201454341f21d8c56b3