summaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp_api.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-07-18 09:26:53 -0700
committerNeale Ranns <nranns@cisco.com>2017-07-18 19:05:03 +0000
commit51822bf07a3f0fe72834ea94659faf6e262475ba (patch)
tree55acdc249df261a92d0ec09bb7c05a2d4fa7ca44 /src/vnet/dhcp/dhcp_api.c
parenta2fbf6ba0e2553687f56d9a9fb63e2972bdb26c6 (diff)
DHCP client option 61 "client_id"
the existing seeting of client_id to a VPP version number was unused and so overridden Change-Id: If9ebea936336f1fcca8d07e67186c95f8f8f0ccd Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/dhcp/dhcp_api.c')
-rw-r--r--src/vnet/dhcp/dhcp_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/dhcp/dhcp_api.c b/src/vnet/dhcp/dhcp_api.c
index 5ea93660340..d6984f2d083 100644
--- a/src/vnet/dhcp/dhcp_api.c
+++ b/src/vnet/dhcp/dhcp_api.c
@@ -227,7 +227,8 @@ static void vl_api_dhcp_client_config_t_handler
VALIDATE_SW_IF_INDEX (mp);
rv = dhcp_client_config (vm, ntohl (mp->sw_if_index),
- mp->hostname, mp->is_add, mp->client_index,
+ mp->hostname, mp->client_id,
+ mp->is_add, mp->client_index,
mp->want_dhcp_event ? dhcp_compl_event_callback :
NULL, mp->pid);