mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 14:48:51 +01:00
Add warning to COMMENT documentation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4665 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5f85edf2d8
commit
6421f33dc1
@ -82,7 +82,9 @@ Other changes in 3.3.3
|
||||
|
||||
Note: Do not prefix the comment with "#". Shorewall's two-pass
|
||||
compiler strips off "#" comments in the first pass and processes
|
||||
COMMENT lines in the second pass.
|
||||
COMMENT lines in the second pass. So by the time that COMMENT is
|
||||
processed, the "#" and everything after it has been removed (see
|
||||
example below).
|
||||
|
||||
To stop the current comment from being attached to further
|
||||
rules, simply include COMMENT on a line by itself (so that the
|
||||
@ -103,9 +105,7 @@ Other changes in 3.3.3
|
||||
REJECT loc net tcp 137,445
|
||||
REJECT loc net udp 137:139
|
||||
|
||||
# Stop comment from being attached to rules below
|
||||
|
||||
COMMENT
|
||||
COMMENT # Stop comment from being attached to rules below
|
||||
|
||||
The output of "shorewall show loc2net" includes (folded):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user