Skip to content

Commit 5a8898b

Browse files
author
vedganes
committed
[linksync]voq-inbandif-port pr rebase merge issue fix
Signed-off-by: vedganes <vedavinayagam.ganesan@nokia.com>
1 parent 81c478e commit 5a8898b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

portsyncd/linksync.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void LinkSync::onMsg(int nlmsg_type, struct nl_object *obj)
174174

175175
unsigned int flags = rtnl_link_get_flags(link);
176176
bool admin = flags & IFF_UP;
177-
bool oper = flags & IFF_LOWER_UP;
177+
bool oper = flags & IFF_RUNNING;
178178

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

0 commit comments

Comments
 (0)