summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/containers.py2
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))