Skip to content

Commit

Permalink
orchagent: Fixing IntfsEntry struct init value issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuotian Cheng committed Sep 21, 2016
1 parent 8d214e4 commit 6aea61b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orchagent/intfsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ void IntfsOrch::doTask(Consumer &consumer)
if (addRouterIntfs(port))
{
IntfsEntry intfs_entry;
intfs_entry.ref_count = 0;
m_syncdIntfses[alias] = intfs_entry;

addSubnetRoute(port, ip_prefix);
Expand Down

0 comments on commit 6aea61b

Please sign in to comment.