Re: Syntax Error in the PF Guide

Nick Holland <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
Marcus Popp wrote:
> On 2006-11-05T15:36, xSAPPYx wrote:
>> on http://openbsd.org/faq/pf/options.html in the example at the bottom
>> of the page the fingerprints filename has to be in quotes:
>> 
>> set fingerprints "/etc/pf.os.test"
>> 
>> From the pf.conf man page:
>> For example:
>>     set fingerprints "/etc/pf.os.devel"
>> 
>> pfctl -vnf to test the ruleset will also error out if the file isn't quoted.
> Index: www/faq/pf/options.html
> ===================================================================
> RCS file: /var/www/public/mirror/cvs/www/faq/pf/options.html,v
> retrieving revision 1.14
> diff -u -r1.14 options.html
> --- www/faq/pf/options.html     25 Jun 2005 03:42:27 -0000      1.14
> +++ www/faq/pf/options.html     6 Nov 2006 00:11:35 -0000
> @@ -219,7 +219,7 @@
>  set optimization high-latency
>  set block-policy return
>  set loginterface dc0
> -set fingerprints /etc/pf.os.test
> +set fingerprints &quot;/etc/pf.os.test&quot;
>  set skip on lo0
>  set state-policy if-bound
>  </pre>
> 
> hth,
> 
> Marcus.

Fixed, though I don't like the "&quot;" thingies (so I didn't use 'em).
 They aren't needed for validation in <pre>s, and they are just ugly. :)

Thanks for the report!

Nick.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.