mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 19:21:21 +02:00
Add a comment about why the 'id' member of builtin tables is initialized in process_providers()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e572d6ce50
commit
6334b09653
@ -1338,7 +1338,9 @@ sub process_providers( $ ) {
|
|||||||
|
|
||||||
our $providers = 0;
|
our $providers = 0;
|
||||||
our $pseudoproviders = 0;
|
our $pseudoproviders = 0;
|
||||||
|
#
|
||||||
|
# We defer initialization of the 'id' member until now so that the setting of USE_RT_NAMES will have been established.
|
||||||
|
#
|
||||||
unless ( $config{USE_RT_NAMES} ) {
|
unless ( $config{USE_RT_NAMES} ) {
|
||||||
for ( values %providers ) {
|
for ( values %providers ) {
|
||||||
$_->{id} = $_->{number};
|
$_->{id} = $_->{number};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user