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 84f2a77 commit 29b0a12Copy full SHA for 29b0a12
1 file changed
netjsonconfig/backends/airos/interface.py
@@ -58,7 +58,7 @@ def split_cidr(address):
58
Return the address in dict format
59
"""
60
network = ip_interface('{addr}/{mask}'.format(addr=address['address'], mask=address['mask']))
61
- return {'ip': network.ip, 'netmask': network.netmask}
+ return {'ip': str(network.ip), 'netmask': str(network.netmask)}
62
63
64
def ssid(interface):
0 commit comments