Skip to content

Commit

Permalink
interface: fix MAC address learning issue
Browse files Browse the repository at this point in the history
Fixed incorrect initialization of the `Interface` struct, which
caused learned MAC addresses to be ignored. The issue only affected
new interfaces, MAC address updates for existing interfaces were
handled correctly.

Signed-off-by: Renato Westphal <[email protected]>
  • Loading branch information
rwestphal committed Oct 4, 2024
1 parent ae5075d commit eaf0259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holo-interface/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl Interfaces {
flags,
addresses: Default::default(),
owner: Owner::SYSTEM,
mac_address: Default::default(),
mac_address,
};

// Notify protocol instances about the interface update.
Expand Down

0 comments on commit eaf0259

Please sign in to comment.