Custom Search

Re: problems when writing a iptable test module, may be silly..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


So it is..

Module found now. But it comes with "InvalidMethodException". I will
trying to debug it.

On Fri, 2011-04-29 at 09:56 +0200, Jan-Frode Myklebust wrote:
> On Fri, Apr 29, 2011 at 03:46:07PM +0800, kirsten wrote:
> > "slave2" is a hostname defined in /etc/hosts, will that be a problem?
> 
> Ok, then it's supposed to be a string, and you need to quote it:
> 
> -    def ip(self, sourceip=slave2):
> +    def ip(self, sourceip="slave2"):
> 
> -    def ipreset(self, sourceip=slave2):
> +    def ipreset(self, sourceip="slave2"):
> 
> 
>   -jf


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Home]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net