Date: Sat, 19 Aug 2006 04:49:40 -0500 From: "Travis H." <solinym@gmail.com> To: "beno -" <purabachata@yahoo.com> Cc: freebsd-pf@freebsd.org Subject: Re: Syntax Error Message-ID: <d4f1333a0608190249t4ec3d61fv1eeb35a98cb5137e@mail.gmail.com> In-Reply-To: <20060818170511.15779.qmail@web33910.mail.mud.yahoo.com> References: <20060818170511.15779.qmail@web33910.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/18/06, beno - <purabachata@yahoo.com> wrote:
> 14. email_ports="{" $smtp_ports $pop3_ports "}"
> 15. all_http_ports="{" $http_ports $https_ports "}"
> 16. tcp_ports= "{" $ssh_ports $ftp_ports $all_http_ports $imap_ssl_ports "}"
You're trying to nest lists, which doesn't work.
> 24. shadday_ip_addresses="70.19.0.0/17"
> 25. ssh_ip_addresses="{" $shinjiru_ip_addresses $directv_ip_addresses $shadday_ip_addresses "}"
> It appears to not like my using "$all_http_ports" in line 16 and one of the three in the last line (which the machine chooses to call 24 but it is actually referring to 25). Why?
This is just a guess, but perhaps the error on line 16 meant it didn't
increment the line counter, so the last line number is off-by-one. In
any case, you did the same thing here. Get rid of the nested braces
(remember, this is textual expansion) and you should be fine.
--
"If you're not part of the solution, you're part of the precipitate."
Unix "guru" for rent or hire -><- http://www.lightconsulting.com/~travis/
GPG fingerprint: 9D3F 395A DAC5 5CCC 9066 151D 0A6B 4098 0C55 1484
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d4f1333a0608190249t4ec3d61fv1eeb35a98cb5137e>
