Re: relayd: exec program on gateway change

2010-12-29 Thread Reyk Floeter
Hi, On Mon, Dec 27, 2010 at 11:24:20PM +0100, Sebastian Benoit wrote: > i am using relayd in "router" mode for a cable-modem link that sometimes > does not work. > > I need to run a programm to load/unload pf-rules and to restart a > proxy with a different config whenever this happens. > I reme

relayd: exec program on gateway change

2010-12-27 Thread Sebastian Benoit
Hi, i am using relayd in "router" mode for a cable-modem link that sometimes does not work. I need to run a programm to load/unload pf-rules and to restart a proxy with a different config whenever this happens. Here is a patch that adds an "exec" option to the router section like this: router "