Skip to content

Commit

Permalink
Fix compilation issue to ignore neighbor entries with Broadcast Mac (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
prsunny authored and lguohan committed Jun 3, 2019
1 parent d543dd9 commit ba29927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neighsyncd/neighsync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void NeighSync::onMsg(int nlmsg_type, struct nl_object *obj)
nl_addr2str(rtnl_neigh_get_lladdr(neigh), macStr, MAX_ADDR_SIZE);

/* Ignore neighbor entries with Broadcast Mac - Trigger for directed broadcast */
if (!delete_key && (MacAddress(macStr) == MacAddress("ff:ff:ff:ff:ff:ff")))
if (MacAddress(macStr) == MacAddress("ff:ff:ff:ff:ff:ff"))
{
SWSS_LOG_INFO("Broadcast Mac recieved, ignoring for %s", ipStr);
return;
Expand Down

0 comments on commit ba29927

Please sign in to comment.