Skip to content

Commit 9c9b9e3

Browse files
Juha Heiskanenjuhhei01
authored andcommitted
Fix crash which will happen if address registration fail and operation is triggered again by NULL pointer.
Change-Id: I34f23bea0158b64ae27d73313b84fb07a5586b0f
1 parent cb83216 commit 9c9b9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/RPL/rpl_control.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void rpl_control_register_address(protocol_interface_info_entry_t *interface, if
206206
}
207207
}
208208
ns_list_foreach(struct rpl_instance, instance, &interface->rpl_domain->instances) {
209-
rpl_instance_send_address_registration(interface, instance, addr);
209+
rpl_instance_send_address_registration(interface, instance, reg_addr);
210210
}
211211
}
212212

0 commit comments

Comments
 (0)