Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cfgmgr/natmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4113,7 +4113,7 @@ void NatMgr::setDynamicAllForwardOrAclbasedRules(const string &opCmd, const stri
/* After deletion, set acl_interface to None */
if (opCmd == DELETE)
{
m_natBindingInfo[dynamicKey].acl_interface == NONE_STRING;
m_natBindingInfo[dynamicKey].acl_interface = NONE_STRING;
}
}

Expand Down
8 changes: 8 additions & 0 deletions natsyncd/natsync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ NatSync::NatSync(RedisPipeline *pipelineAppDB, DBConnector *appDb, DBConnector *
}
}

NatSync::~NatSync()
{
if (m_AppRestartAssist)
{
delete m_AppRestartAssist;
}
}

/* To check the port init is done or not */
bool NatSync::isPortInitDone(DBConnector *app_db)
{
Expand Down
1 change: 1 addition & 0 deletions natsyncd/natsync.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class NatSync : public NetMsg
{
public:
NatSync(RedisPipeline *pipelineAppDB, DBConnector *appDb, DBConnector *stateDb, NfNetlink *nfnl);
~NatSync();

virtual void onMsg(int nlmsg_type, struct nl_object *obj);

Expand Down