From cd5234efc463ba85a346391e4ee6d92eae930c7e Mon Sep 17 00:00:00 2001 From: "Gareth J. Greenaway" Date: Fri, 27 Feb 2015 15:49:49 -0800 Subject: [PATCH] Fixing a typo in the debian_ip module. --- salt/modules/debian_ip.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/modules/debian_ip.py b/salt/modules/debian_ip.py index 0ef6ba90a5..24765ca66d 100644 --- a/salt/modules/debian_ip.py +++ b/salt/modules/debian_ip.py @@ -427,7 +427,7 @@ IPV4_ATTR_MAP = { 'server': __ipv4_quad, 'hwaddr': __mac, # tunnel - 'mode': __within(['gre', 'GRE', 'ipip', 'IPIP'], dtype=str), + 'mode': __within(['gre', 'GRE', 'ipip', 'IPIP', '802.3ad' ], dtype=str), 'endpoint': __ipv4_quad, 'dstaddr': __ipv4_quad, 'local': __ipv4_quad, @@ -1460,8 +1460,8 @@ def _write_file_ifaces(iface, data, **settings): filename = settings['filename'] _SEPERATE_FILE = True else: - if 'filename' in adapter[adapter]['data']: - filename = adapter[adapter]['data'] + if 'filename' in adapters[adapter]['data']: + filename = adapters[adapter]['data'] else: filename = _DEB_NETWORK_FILE