Fix typo of macaddress in dhcp add

This commit is contained in:
Joshua Boniface 2020-05-09 00:15:25 -04:00
parent b580760537
commit 73eb4fb457
1 changed files with 1 additions and 1 deletions

View File

@ -2047,7 +2047,7 @@ class API_Network_Lease_Root(Resource):
return api_helper.net_dhcp_add(
vni,
reqargs.get('ipaddress', None),
reqargs.get('macaddres', None),
reqargs.get('macaddress', None),
reqargs.get('hostname', None)
)
api.add_resource(API_Network_Lease_Root, '/network/<vni>/lease')