Permalink
Browse files

Merge pull request #7 from VVillwin/patch-1

Update src/coreapps/switch/switch.cc
  • Loading branch information...
2 parents a0e2e38 + 9c1080c commit 24629b32486d0373757e52260c9fcc103f4e420c @tootoonchian tootoonchian committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/coreapps/switch/switch.cc
@@ -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())

0 comments on commit 24629b3

Please sign in to comment.