Skip to content

Commit a398a5a

Browse files
Merge branch 'master' of https://github.com/divyagayathri-hcl/sonic-swss into pytest_skip
2 parents 27dca9e + 176bcea commit a398a5a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

orchagent/bfdorch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ bool BgpGlobalStateOrch::offload_supported(bool get_ipv6)
750750
}
751751
if (!capability.get_implemented)
752752
{
753-
SWSS_LOG_ERROR("BFD offload type not implemented");
753+
SWSS_LOG_NOTICE("BFD offload type not implemented");
754754
return false;
755755
}
756756

orchagent/routeorch.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ struct NhgBase;
3737

3838
struct NextHopGroupEntry
3939
{
40+
NextHopGroupEntry() :
41+
next_hop_group_id(SAI_NULL_OBJECT_ID),
42+
ref_count(0),
43+
nh_member_install_count(0),
44+
eligible_for_default_route_nh_swap(false),
45+
is_default_route_nh_swap(false)
46+
{
47+
}
48+
4049
sai_object_id_t next_hop_group_id; // next hop group id
4150
int ref_count; // reference count
4251
NextHopGroupMembers nhopgroup_members; // ids of members indexed by <ip_address, if_alias>

0 commit comments

Comments
 (0)