mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 04:40:04 +01:00
ndisc: add support for PREF64 option (fixes)
This commit is contained in:
parent
1c72b3f252
commit
0551f38b83
2 changed files with 4 additions and 2 deletions
|
|
@ -263,7 +263,7 @@ uuid_dep = dependency('uuid')
|
|||
libelogind_dep = dependency('libelogind', version: '>= 219', required: false)
|
||||
libudev_dep = dependency('libudev', version: '>= 175')
|
||||
dbus_dep = dependency('dbus-1', version: '>= 1.1')
|
||||
libndp_dep = dependency('libndp')
|
||||
libndp_dep = dependency('libndp', version: '>= 1.9')
|
||||
|
||||
jansson_dep = dependency('jansson', version: '>= 2.7', required: false)
|
||||
config_h.set10('WITH_JANSSON', jansson_dep.found())
|
||||
|
|
|
|||
|
|
@ -1541,8 +1541,10 @@ clean_pref64(NMNDisc *ndisc, gint64 now_msec, NMNDiscConfigMap *changed, gint64
|
|||
|
||||
if (!rdata->public.pref64.valid)
|
||||
return;
|
||||
if (!expiry_next(now_msec, rdata->public.pref64.expiry_msec, next_msec))
|
||||
if (!expiry_next(now_msec, rdata->public.pref64.expiry_msec, next_msec)) {
|
||||
rdata->public.pref64.valid = FALSE;
|
||||
*changed |= NM_NDISC_CONFIG_PREF64;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue