split line comments

Bradley W. Dutton brad-fbsd-pf at duttonbros.com
Fri Mar 2 20:15:45 UTC 2007


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 at uno[/etc][31]% cat pf.conf
pass all
# some comments \
block all
pass all
root at uno[/etc][32]% /etc/rc.d/pf reload
Reloading pf rules.
root at uno[/etc][33]% pfctl -sr
pass all
pass all

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




More information about the freebsd-pf mailing list