Skip to content

Commit

Permalink
Merge "Fixing agent compilation errors on ubuntu 16.04"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Nov 16, 2016
2 parents 5eb9e8a + 4093a70 commit 98aed56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vnsw/agent/pkt/pkt_sandesh_flow.cc
Expand Up @@ -381,7 +381,7 @@ void DeleteAllFlowRecords::HandleRequest() const {
void FetchFlowRecord::HandleRequest() const {
FlowKey key;
Agent *agent = Agent::GetInstance();
FlowTable *flow_obj;
FlowTable *flow_obj = NULL;

key.nh = get_nh();
error_code ec;
Expand All @@ -405,7 +405,7 @@ void FetchFlowRecord::HandleRequest() const {
}

SandeshResponse *resp;
if (it != flow_obj->flow_entry_map_.end()) {
if (flow_obj && it != flow_obj->flow_entry_map_.end()) {
FlowRecordResp *flow_resp = new FlowRecordResp();
FlowEntry *fe = it->second;
FlowStatsCollector *fec = fe->fsc();
Expand Down

0 comments on commit 98aed56

Please sign in to comment.