diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-12-14 14:13:34 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-12-15 17:20:54 +0100 |
commit | 81ff6d120e8c247b7c714daefd45ae7b90e3b643 (patch) | |
tree | 47df830859b691ecce7dcf69ca640f52e7de7c64 /system-dummy.c | |
parent | d3a5df04bdcc039d900df49c8c608c1a91a976c7 (diff) |
interface-ip: fix race condition in IPv6 prefix address generation
Don't generate an IPv6 prefix address without taking into account the
interface state. In case eui64 is configured to generate the ifaceid this
could fail as the layer3 device mac address could not yet be available if
the interface is not yet in setup or up state.
While at it remove the interface metric assignment as this is already done
by the function interface_set_route_info.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'system-dummy.c')
0 files changed, 0 insertions, 0 deletions