Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 19:20:19 GMT
From:      =?ISO-8859-1?Q?Vladim=EDr_Kotal?= <vlada@devnull.cz>
To:        freebsd-pf@FreeBSD.org
Subject:   Re: bin/89058: [pf] pfctl(8) parser is too terse when detecting syntax in table specification
Message-ID:  <200511151920.jAFJKJS5090120@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/89058; it has been noted by GNATS.

From: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= <vlada@devnull.cz>
To: bug-followup@FreeBSD.org,
 =?ISO-8859-1?Q?Vladim=EDr_Kotal?= <vlada@devnull.cz>
Cc:  
Subject: Re: bin/89058: [pf] pfctl(8) parser is too terse when detecting syntax in table specification
Date: Tue, 15 Nov 2005 20:10:55 +0100

 The -n option does not even report the syntax error help because of 
 this code in pfctl.c:
 
          if (parse_rules(fin, &pf) < 0) {
                  if ((opts & PF_OPT_NOACTION) == 0)
                          ERRX("Syntax error in config file: "
                              "pf rules not loaded");
                  else
                          goto _error;
          }
 
 The -v option does not help either.
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511151920.jAFJKJS5090120>