Skip to content
Commit e2bacccd authored by Yu Watanabe's avatar Yu Watanabe
Browse files

network: fix segfault in link_update_hardware_address()

This fixes a bug introduced by fe321d45.

When we want to update a value (in the case of this commit, it is a hardware
address) which is used as a hashmap key, we need to do the following steps:
1. remove the old hashmap entry,
2. update the value,
3. create a new hashmap entry with the new value.
parent cd3a828c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment