Re: Perl script bug?
Ian Eiloart <[email protected]> Fri, 07 Jul 2006 16:32:03 +0100
| Newsgroups | gmane.comp.apache.mod-wackamole.general |
|---|---|
| Message-ID | <[email protected]> |
--On 7 July 2006 14:22:15 +0100 Ian Eiloart <[email protected]> wrote: > > My problem is this. When I test wackamole with wackatrl -f and wackatrl > -s, the IP addresses come up and down as expected. But, whether I say > "wackatrl -f" or "wackatrl -s", BOTH onup() and ondown() get executed. > So, my services get started and stopped at the same time. > Oh, I lied. On closer observation - what actually seems to be happening is that all my functions are being run only when an interface comes up. An interface going down doesn't trigger any function execution at all. That seems to accord with my reading of the code. Unfortunately, I'm not sure I know how to fix it. -- Ian Eiloart IT Services, University of Sussex