diff options
author | Lulu Cathrinus Grimalkin <e.altunbas@vyos.io> | 2021-08-15 13:10:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-15 12:10:20 +0200 |
commit | 43fcc0db006a12024df1b49d6f3c9e99ce165226 (patch) | |
tree | b946a2c680b65234e47544e74c5da7b5d8ff8ba2 /src/conf_mode/conntrack.py | |
parent | 9b21e4a769385514f0bf625d665d588266dc6de4 (diff) | |
download | vyos-1x-43fcc0db006a12024df1b49d6f3c9e99ce165226.tar.gz vyos-1x-43fcc0db006a12024df1b49d6f3c9e99ce165226.zip |
conntrack: T3275: migrate 'disable' syntax to 'enable' syntax for the new default behavior
Diffstat (limited to 'src/conf_mode/conntrack.py')
-rwxr-xr-x | src/conf_mode/conntrack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/conntrack.py b/src/conf_mode/conntrack.py index 4e6e39c0f..b305265db 100755 --- a/src/conf_mode/conntrack.py +++ b/src/conf_mode/conntrack.py @@ -97,7 +97,7 @@ def apply(conntrack): # Depending on the enable/disable state of the ALG (Application Layer Gateway) # modules we need to either insmod or rmmod the helpers. for module, module_config in module_map.items(): - if dict_search(f'modules.{module}.disable', conntrack) != None: + if dict_search(f'modules.{module}', conntrack) is None: if 'ko' in module_config: for mod in module_config['ko']: # Only remove the module if it's loaded |