From 73eb4fb457fbe52787ba46de95e2d621df6f7288 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 9 May 2020 00:15:25 -0400 Subject: [PATCH] Fix typo of macaddress in dhcp add --- api-daemon/pvcapid/flaskapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 0a9eaff8..a1eb8574 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -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//lease')