mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 19:18:00 +02:00
device: change error code for Reapply() rejecting unsupported flags argument
Changing an error code is an API change. But, so far no flags existed, so it's unlikely that somebody would send invalid flags or care about the return code.
This commit is contained in:
parent
8bed2c9edc
commit
b88cdf2a6b
1 changed files with 1 additions and 1 deletions
|
|
@ -13202,7 +13202,7 @@ impl_device_get_applied_connection(NMDBusObject *obj,
|
|||
if (flags != 0) {
|
||||
g_dbus_method_invocation_return_error_literal(invocation,
|
||||
NM_DEVICE_ERROR,
|
||||
NM_DEVICE_ERROR_FAILED,
|
||||
NM_DEVICE_ERROR_INVALID_ARGUMENT,
|
||||
"Invalid flags specified");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue