Skip to content

Commit

Permalink
Update src/coreapps/switch/switch.cc
Browse files Browse the repository at this point in the history
This will keep changes in MAC table during application live.
  • Loading branch information
VVillwin committed Dec 17, 2012
1 parent a0e2e38 commit 9c1080c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreapps/switch/switch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Switch::handle_packet_in(const Event& e)

mac_table_map::accessor accessor;
mac_tables.find(accessor, dp.id());
auto mac_table = accessor->second;
auto& mac_table = accessor->second;

// Learn the source MAC
if (!flow.dl_src().is_multicast())
Expand Down

0 comments on commit 9c1080c

Please sign in to comment.