Add support for SERVER_ID

This commit is contained in:
Simon 2021-05-04 21:18:50 +01:00
parent 22326f6319
commit b77d2b72ad
3 changed files with 4 additions and 2 deletions

View File

@ -48,7 +48,7 @@ TGID_TS2_ACL: PERMIT:ALL
GEN_STAT_BRIDGES: False
ALLOW_NULL_PASSPHRASE: False
ANNOUNCEMENT_LANGUAGE: en_GB
SERVER_ID: 0000
# NOT YET WORKING: NETWORK REPORTING CONFIGURATION

View File

@ -10,6 +10,7 @@ TGID_TS2_ACL: PERMIT:ALL
GEN_STAT_BRIDGES: True
ALLOW_NULL_PASSPHRASE: True
ANNOUNCEMENT_LANGUAGE: en_GB
SERVER_ID: 0000
[REPORTS]
REPORT: True

View File

@ -124,7 +124,8 @@ def build_config(_config_file):
'TG2_ACL': config.get(section, 'TGID_TS2_ACL'),
'GEN_STAT_BRIDGES': config.getboolean(section, 'GEN_STAT_BRIDGES'),
'ALLOW_NULL_PASSPHRASE': config.getboolean(section, 'ALLOW_NULL_PASSPHRASE'),
'ANNOUNCEMENT_LANGUAGE': config.get(section, 'ANNOUNCEMENT_LANGUAGE')
'ANNOUNCEMENT_LANGUAGE': config.get(section, 'ANNOUNCEMENT_LANGUAGE'),
'SERVER_ID': config.get(section, 'SERVER_ID')
})