I'm looking at illumos bug 3617 `ipf.conf requires a comment on the
first line to work', here:

    https://www.illumos.org/issues/3617

I'm unable to reproduce the problem, using a group of valid ipf
statements either by themself or preceeded by a comment line or an
empty line.  In all cases, ipf parses them without error.

The only way I could cause the error cited was with an ipf.conf that
contained only an empty line, like this:

    $ touch /tmp/ipf4.conf
    $ /usr/sbin/ipf -n -d -f /tmp/ipf4.conf
    $ print $?                                          
    0
    $ echo "" > /tmp/ipf5.conf
    $ /usr/sbin/ipf -n -d -f /tmp/ipf5.conf
    syntax error error at "", line 1
    $ print $?                             
    1

I'm wondering if the original cause was misinterpreted?  Maybe this
bug report should be closed.

-- 
-Gary Mills-            -refurb-                -Winnipeg, Manitoba, Canada-

_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to