Skip to content

Commit 29b0a12

Browse files
committed
[airos] fixed error with intermediate representation
1 parent 84f2a77 commit 29b0a12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netjsonconfig/backends/airos/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def split_cidr(address):
5858
Return the address in dict format
5959
"""
6060
network = ip_interface('{addr}/{mask}'.format(addr=address['address'], mask=address['mask']))
61-
return {'ip': network.ip, 'netmask': network.netmask}
61+
return {'ip': str(network.ip), 'netmask': str(network.netmask)}
6262

6363

6464
def ssid(interface):

0 commit comments

Comments
 (0)