diff options
-rwxr-xr-x | plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost index 4006de420..e556931bb 100755 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost @@ -227,7 +227,10 @@ def iptables_config(session, args): # either execute iptable-save or iptables-restore # command must be only one of these two # process_input must be used only with iptables-restore - if len(cmd) > 0 and cmd[0] in ('iptables-save', 'iptables-restore'): + if len(cmd) > 0 and cmd[0] in ('iptables-save', + 'iptables-restore', + 'ip6tables-save', + 'ip6tables-restore'): result = _run_command_with_input(cmd, process_input) ret_str = json.dumps(dict(out=result, err='')) |