Skip to content

Commit

Permalink
[linksync]voq-inbandif-port pr rebase merge issue fix
Browse files Browse the repository at this point in the history
Signed-off-by: vedganes <[email protected]>
  • Loading branch information
vedganes committed Mar 31, 2021
1 parent 81c478e commit 5a8898b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portsyncd/linksync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void LinkSync::onMsg(int nlmsg_type, struct nl_object *obj)

unsigned int flags = rtnl_link_get_flags(link);
bool admin = flags & IFF_UP;
bool oper = flags & IFF_LOWER_UP;
bool oper = flags & IFF_RUNNING;

char addrStr[MAX_ADDR_SIZE+1] = {0};
nl_addr2str(rtnl_link_get_addr(link), addrStr, MAX_ADDR_SIZE);
Expand Down

0 comments on commit 5a8898b

Please sign in to comment.