diff --git a/src/bin/dhcp4/dhcp4.spec b/src/bin/dhcp4/dhcp4.spec index 84c28d75fe..f8bb336276 100644 --- a/src/bin/dhcp4/dhcp4.spec +++ b/src/bin/dhcp4/dhcp4.spec @@ -10,10 +10,16 @@ "item_default": [], "list_item_spec": { - "item_name": "hooks-library", - "item_type": "string", + "item_name": "hooks-library-spec", + "item_type": "map", "item_optional": false, - "item_default": "" + "map_item_spec": [ + { + "item_name": "library", + "item_type": "string" + "item_optional": false + } + ] } }, diff --git a/src/bin/dhcp6/dhcp6.spec b/src/bin/dhcp6/dhcp6.spec index f24d15f20a..65a40e3f81 100644 --- a/src/bin/dhcp6/dhcp6.spec +++ b/src/bin/dhcp6/dhcp6.spec @@ -10,10 +10,16 @@ "item_default": [], "list_item_spec": { - "item_name": "hooks-library", - "item_type": "string", + "item_name": "hooks-library-spec", + "item_type": "map", "item_optional": false, - "item_default": "" + "map_item_spec": [ + { + "item_name": "library", + "item_type": "string" + "item_optional": false + } + ] } },