From 5a8898bf0ce7037fc7693e48414bc955c71b2da0 Mon Sep 17 00:00:00 2001 From: vedganes Date: Wed, 31 Mar 2021 13:34:41 -0400 Subject: [PATCH] [linksync]voq-inbandif-port pr rebase merge issue fix Signed-off-by: vedganes --- portsyncd/linksync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portsyncd/linksync.cpp b/portsyncd/linksync.cpp index dc8bf907072..08df3ff9ec6 100644 --- a/portsyncd/linksync.cpp +++ b/portsyncd/linksync.cpp @@ -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);