mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 05:20:08 +01:00
l3cfg: fix argument order of NM_CLAMP()
The signature is NM_CLAMP(x, low, high) and so "timeout_msec" should be the first argument.
This commit is contained in:
parent
ca3c26ddb6
commit
173fd1451e
1 changed files with 1 additions and 1 deletions
|
|
@ -2299,7 +2299,7 @@ _l3_acd_data_timeout_schedule(AcdData *acd_data, gint64 timeout_msec)
|
|||
|
||||
nm_clear_g_source_inst(&acd_data->acd_data_timeout_source);
|
||||
acd_data->acd_data_timeout_source =
|
||||
nm_g_timeout_add_source(NM_CLAMP((gint64) 0, timeout_msec, (gint64) G_MAXUINT),
|
||||
nm_g_timeout_add_source(NM_CLAMP(timeout_msec, (gint64) 0, (gint64) G_MAXUINT),
|
||||
_l3_acd_data_timeout_cb,
|
||||
acd_data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue