Actions
Bug #153
closedRemoving proxy ARP VIP doesn't kill off choparp
Start date:
11/15/2009
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
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.
Actions