diff options
author | 2019-10-01 11:30:56 +0200 | |
---|---|---|
committer | 2019-10-03 10:07:21 +0000 | |
commit | 103ba6ba9ecd1d65bcbd3bb4edc115beb9ee7671 (patch) | |
tree | eca605b6a3860425958b501b9eb215f8ac84326c /src/vnet/dhcp/dhcp6_ia_na_client_cp.c | |
parent | d6d50cebde647f9a5ee7251a7fef977506f315d7 (diff) |
dhcp: API cleanup
Use consistent API types.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Ia63d920788add2584060a240321acced7a471640
Diffstat (limited to 'src/vnet/dhcp/dhcp6_ia_na_client_cp.c')
-rw-r--r-- | src/vnet/dhcp/dhcp6_ia_na_client_cp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/dhcp/dhcp6_ia_na_client_cp.c b/src/vnet/dhcp/dhcp6_ia_na_client_cp.c index ad0ca8e3e93..e440805d707 100644 --- a/src/vnet/dhcp/dhcp6_ia_na_client_cp.c +++ b/src/vnet/dhcp/dhcp6_ia_na_client_cp.c @@ -214,7 +214,7 @@ dhcp6_reply_event_handler (vl_api_dhcp6_reply_event_t * mp) inner_status_code = ntohs (mp->inner_status_code); status_code = ntohs (mp->status_code); - if (mp->msg_type == DHCPV6_MSG_ADVERTISE + if (mp->msg_type == DHCPV6_MSG_API_ADVERTISE && client_state->server_index == ~0) { address_info_t *address_list = 0, *address_info; @@ -246,7 +246,7 @@ dhcp6_reply_event_handler (vl_api_dhcp6_reply_event_t * mp) vec_free (address_list); } - if (mp->msg_type != DHCPV6_MSG_REPLY) + if (mp->msg_type != DHCPV6_MSG_API_REPLY) return 0; if (!client_state->rebinding && client_state->server_index != server_index) |