From 80ec1decc49c72efec2a8b87c06245c92c0ab807 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 11 Feb 2021 18:11:46 +0100 Subject: New upstream version 1.29.90 --- docs/libnm/html/NMSettingBond.html | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'docs/libnm/html/NMSettingBond.html') diff --git a/docs/libnm/html/NMSettingBond.html b/docs/libnm/html/NMSettingBond.html index 5d09b50c..7dcaa606 100644 --- a/docs/libnm/html/NMSettingBond.html +++ b/docs/libnm/html/NMSettingBond.html @@ -420,12 +420,8 @@ setting; the value is owned by the setting and must not be modified

nm_setting_bond_add_option (NMSettingBond *setting, const char *name, const char *value); -

Add an option to the table. The option is compared to an internal list -of allowed options. Option names may contain only alphanumeric characters -(ie [a-zA-Z0-9]). Adding a new name replaces any existing name/value pair +

Add an option to the table. Adding a new name replaces any existing name/value pair that may already exist.

-

The order of how to set several options is relevant because there are options -that conflict with each other.

Parameters

@@ -455,8 +451,16 @@ that conflict with each other.

Returns

-

TRUE if the option was valid and was added to the internal option -list, FALSE if it was not.

+

returns FALSE if either name +or value +is NULL, in that case +the option is not set. Otherwise, the function does not fail and does not validate +the arguments. All validation happens via nm_connection_verify() or do basic validation +yourself with nm_setting_bond_validate_option().

+

Note: Before 1.30, libnm would perform basic validation of the name and the value +via nm_setting_bond_validate_option() and reject the request by returning FALSE. +Since 1.30, libnm no longer rejects any values as the setter is not supposed +to perform validation.


@@ -523,8 +527,8 @@ the name - - + + -- cgit 1.3.0-6-gf8a5
 

value

the value of the option to validate

value (allow-none)

the value of the option to validate.