dhcp6: make string argument to sd_dhcp6_client_set_request_mud_url() const
This commit is contained in:
parent
c13f4643f4
commit
feb7d7a212
|
@ -382,7 +382,7 @@ int sd_dhcp6_client_set_request_option(sd_dhcp6_client *client, uint16_t option)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sd_dhcp6_client_set_request_mud_url(sd_dhcp6_client *client, char *mudurl) {
|
int sd_dhcp6_client_set_request_mud_url(sd_dhcp6_client *client, const char *mudurl) {
|
||||||
|
|
||||||
assert_return(client, -EINVAL);
|
assert_return(client, -EINVAL);
|
||||||
assert_return(client->state == DHCP6_STATE_STOPPED, -EBUSY);
|
assert_return(client->state == DHCP6_STATE_STOPPED, -EBUSY);
|
||||||
|
|
|
@ -123,7 +123,7 @@ int sd_dhcp6_client_set_request_option(
|
||||||
uint16_t option);
|
uint16_t option);
|
||||||
int sd_dhcp6_client_set_request_mud_url(
|
int sd_dhcp6_client_set_request_mud_url(
|
||||||
sd_dhcp6_client *client,
|
sd_dhcp6_client *client,
|
||||||
char *mudurl);
|
const char *mudurl);
|
||||||
int sd_dhcp6_client_set_prefix_delegation_hint(
|
int sd_dhcp6_client_set_prefix_delegation_hint(
|
||||||
sd_dhcp6_client *client,
|
sd_dhcp6_client *client,
|
||||||
uint8_t prefixlen,
|
uint8_t prefixlen,
|
||||||
|
|
Loading…
Reference in a new issue