Skip to content

Conversation

@ffmancera
Copy link
Contributor

The new function uses the client probe connection to send a RELEASE message. Returns zero if successful otherwise returns non-zero value.

The new function uses the client probe connection to send a RELEASE
message. Returns zero if successful otherwise returns non-zero value.

Signed-off-by: Fernando Fernandez Mancera <[email protected]>

r = n_dhcp4_c_connection_start_request(&probe->connection, request_out, 0);
if (r)
return r;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will keep resending the DHCPDECLINE message, since it stays in connection->request. I think you need to use n_dhcp4_c_connection_send_request() directly, don't you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants