mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
Improve some comments
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5f08605adc
commit
f9c5b8b0d5
@ -2920,7 +2920,9 @@ sub record_runtime_address( $ ) {
|
||||
|
||||
#
|
||||
# If the passed address is a run-time address variable for an optional interface, then
|
||||
# begin a conditional rule block that tests the address for nil.
|
||||
# begin a conditional rule block that tests the address for nil. Returns 1 if a conditional
|
||||
# block was opened. The caller stores the result, and if the result is true the caller
|
||||
# invokes conditional_rule_end() when the conditional block is complete.
|
||||
#
|
||||
sub conditional_rule( $$ ) {
|
||||
my ( $chainref, $address ) = @_;
|
||||
@ -2941,7 +2943,8 @@ sub conditional_rule( $$ ) {
|
||||
}
|
||||
|
||||
#
|
||||
# If end a conditional in a chain
|
||||
# End a conditional in a chain begun by conditional_rule(). Should only be called
|
||||
# if conditional_rule() returned true.
|
||||
#
|
||||
|
||||
sub conditional_rule_end( $ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user