Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2007 11:49:03 -0800 (PST)
From:      "Bradley W. Dutton" <brad-fbsd-pf@duttonbros.com>
To:        freebsd-pf@freebsd.org
Subject:   split line comments
Message-ID:  <1703.192.168.0.13.1172864943.squirrel@uno.mnl.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm not sure if this is a bug or feature, but the trailing slash used to
split long lines works for comments too.

Thanks,
Brad

root@uno[/etc][31]% cat pf.conf
pass all
# some comments \
block all
pass all
root@uno[/etc][32]% /etc/rc.d/pf reload
Reloading pf rules.
root@uno[/etc][33]% pfctl -sr
pass all
pass all

root@uno[/etc][35]% cat pf.conf
pass all
# some comments
block all
pass all
root@uno[/etc][36]% /etc/rc.d/pf reload
Reloading pf rules.
root@uno[/etc][37]% pfctl -sr
pass all
block drop all
pass all





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