Commit 25e89d42 authored by Kishen Maloor's avatar Kishen Maloor

linux/ip:close all TLS sessions on n/w i/f change

Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent 6017ed5b
......@@ -645,6 +645,7 @@ process_interface_change_event(void)
}
if (if_state_changed) {
oc_close_all_tls_sessions();
for (i = 0; i < num_devices; i++) {
ip_context_t *dev = get_ip_context_for_device(i);
oc_network_event_handler_mutex_lock();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment