pfsense/pfsense — pull request #625 by phil-davis (2013-05-07 06:03:38+00:00)
Title: Fixup handling gateway argument to rc.openvpn

Handle gateway argument to rc.openvpn
Various fixups to make this work. Now I can:
- Unplug an interface, any OpenVPN servers/clients in a gateway group using that interface are restarted and come up on the highest tier available interface. OpenVPN servers/clients that are only on that interface go down, of course.
- Plug in the cable again, any OpenVPN servers/clients in a gateway group using that interface are restarted and come up on the now-highest tier available interface (i.e. they fail back if the interface that just came up is higher tier). OpenVPN servers/clients that are only on that interface now come up.