> From: Jim McCullars [mailto:[EMAIL PROTECTED]
> On Fri, 9 Jul 2004, Vivek Kumar wrote:
>
> > Hi Matthew,
> >
> > I tried both the following syntax you suggested but I got
> compliation
> > error.
>
> How about just:
>
> if ($hostip =~ /^191\.0\.(?:0|1)/) {
> return("ACCEPT_AND_NO_MORE_FILTERING","OK")
> }
That would aslo match 191.0.12.38, for example.
This might work though:
if ($hostip =~ /^(?:191\.0\.(?:0|1)|127\.0\.0)\./) {
return("ACCEPT_AND_NO_MORE_FILTERING","OK")
}
[EMAIL PROTECTED] 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang