<div dir="ltr">Hi Guys,<div> I am looking at the given below function zebra_evpn_mac_is_static in zebra/zebra_evpn_mac.h file.</div><div><br></div><div>/* if the mac has been added of a mac-route from the peer<br> * or if it is being referenced by a neigh added by the<br> * peer we cannot let it age out i.e. we set the static bit<br> * in the dataplane<br> */<br></div><div>static inline bool zebra_evpn_mac_is_static(struct zebra_mac *mac)<br>{<br>  return ((mac->flags & ZEBRA_MAC_ALL_PEER_FLAGS) || mac->sync_neigh_cnt);<br>}<br></div><div><br></div><div>Is the use of ZEBRA_MAC_ALL_PEER_FLAGS correct here ? I feel that it should be ZEBRA_MAC_ES_PEER_ACTIVE instead. </div><div>The current code is leading to creation of static mac on mac originating peer also since it will have the ZEBRA_MAC_ES_PEER_PROXY flag set.</div><div><br></div><div>Rgds</div><div>Atul</div><div><br></div><div><br></div></div>