Fix typo of macaddress in dhcp add
This commit is contained in:
parent
b580760537
commit
73eb4fb457
|
@ -2047,7 +2047,7 @@ class API_Network_Lease_Root(Resource):
|
||||||
return api_helper.net_dhcp_add(
|
return api_helper.net_dhcp_add(
|
||||||
vni,
|
vni,
|
||||||
reqargs.get('ipaddress', None),
|
reqargs.get('ipaddress', None),
|
||||||
reqargs.get('macaddres', None),
|
reqargs.get('macaddress', None),
|
||||||
reqargs.get('hostname', None)
|
reqargs.get('hostname', None)
|
||||||
)
|
)
|
||||||
api.add_resource(API_Network_Lease_Root, '/network/<vni>/lease')
|
api.add_resource(API_Network_Lease_Root, '/network/<vni>/lease')
|
||||||
|
|
Loading…
Reference in New Issue