From 7f475bf4b77ae2e74d65c62a22dc550329bb59c1 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Tue, 26 May 2020 11:19:28 -0400 Subject: dhcp: vat support for the dhcp_client_dump API Also: permanently solve ordering issues with the vpp builtin vat plugin loader, by explicitly loading vat plugins once we're sure that all data plane plugins have registered their APIs / API message handlers. Fix compilation / link errors when the vpp builtin vat plugin loader is disbled by cmake configuration. Type: fix Signed-off-by: Dave Barach Change-Id: Id553c63ae860ebfc196c5ad4b55c19e08fec2c9e Signed-off-by: Ole Troan --- src/plugins/dhcp/dhcp_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/dhcp/dhcp_api.c') diff --git a/src/plugins/dhcp/dhcp_api.c b/src/plugins/dhcp/dhcp_api.c index d2e423572fb..c5c7a82f3c3 100644 --- a/src/plugins/dhcp/dhcp_api.c +++ b/src/plugins/dhcp/dhcp_api.c @@ -262,7 +262,7 @@ dhcp_client_lease_encode (vl_api_dhcp_lease_t * lease, size_t len; u8 i; - lease->is_ipv6 = 0; // only support IPv6 clients + lease->is_ipv6 = 0; // only support IPv4 clients lease->sw_if_index = ntohl (client->sw_if_index); lease->state = ntohl (client->state); len = clib_min (sizeof (lease->hostname) - 1, vec_len (client->hostname)); -- cgit 1.2.3-korg