[Ferm] two semicolons
Marc Haber
mh+ferm at zugschlus.de
Fri Mar 4 10:14:20 CET 2011
On Fri, Mar 04, 2011 at 09:08:55AM +0100, Max Kellermann wrote:
> On 2011/02/27 10:03, Marc Haber <mh+ferm at zugschlus.de> wrote:
> > is it intended to flag two semicolons (;;) at the end of a rule as a
> > syntax error? Why should an empty statement not be allowed?
>
> The reason is that a semicolon is a command: it finalizes the current
> rule, and turns it into an iptables line. A special hack would be
> needed to make special case of "no further additions in the current
> context, ignore the semicolon".
Thanks for the explanation. I understand the philosophy now.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Ferm
mailing list