diff options
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/containers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py index 78664dfd9..85fc14015 100755 --- a/src/conf_mode/containers.py +++ b/src/conf_mode/containers.py @@ -222,6 +222,8 @@ def apply(container): for count in range(0, len(config['plugins'])): if 'ipMasq' in config['plugins'][count]: config['plugins'][count]['ipMasq'] = False + if 'hairpinMode' in config['plugins'][count]: + config['plugins'][count]['hairpinMode'] = False write_file(cni_network_config, json.dumps(config, indent=4)) |