We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c034caf commit dd344b3Copy full SHA for dd344b3
netjsonconfig/backends/airos/converters.py
@@ -320,8 +320,7 @@ def to_intermediate(self):
320
temp['role'] = self.type_to_role(interface['type'])
321
# handle explicit address policy
322
if addr['proto'] == 'dhcp':
323
- temp['autoip'] = {}
324
- temp['autoip']['status'] = 'enabled'
+ temp['autoip'] = {'status': 'enabled'}
325
else:
326
ip_and_mask = '%s/%d' % (addr['address'], addr['mask'])
327
network = ip_interface(ip_and_mask)
0 commit comments