Skip to content

Commit e59dbd8

Browse files
author
Arto Kinnunen
authored
Update domain address lifetime (#1985)
Update domain address lifetime when address is reregistered.
1 parent 8a5cb75 commit e59dbd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/6LoWPAN/Thread/thread_bbr_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,7 @@ int thread_bbr_dua_entry_add(int8_t interface_id, const uint8_t *addr_data_ptr,
10001000
// Route info autofreed
10011001
route->info_autofree = true;
10021002
}
1003+
route->lifetime = lifetime; // update lifetime also from old route
10031004
map = route->info.info;
10041005
memcpy(map->mleid_ptr, mleid_ptr, 8);
10051006
map->last_contact_time = protocol_core_monotonic_time;

0 commit comments

Comments
 (0)