mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
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;
|
||||
}
|
||||
|
||||
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->state == DHCP6_STATE_STOPPED, -EBUSY);
|
||||
|
@ -123,7 +123,7 @@ int sd_dhcp6_client_set_request_option(
|
||||
uint16_t option);
|
||||
int sd_dhcp6_client_set_request_mud_url(
|
||||
sd_dhcp6_client *client,
|
||||
char *mudurl);
|
||||
const char *mudurl);
|
||||
int sd_dhcp6_client_set_prefix_delegation_hint(
|
||||
sd_dhcp6_client *client,
|
||||
uint8_t prefixlen,
|
||||
|
Loading…
Reference in New Issue
Block a user