Skip to content

Commit

Permalink
Fix compilation error on redhat
Browse files Browse the repository at this point in the history
controller/src/vnsw/agent/oper/mirror_table.cc:62:14: note: ‘nh’ was declared here
     NextHop *nh;
              ^

Change-Id: I31c5611b288d1beb89e3b5bffa1384caa7570d13
  • Loading branch information
vmahuli committed Jan 5, 2017
1 parent 0cb01ef commit b006053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vnsw/agent/oper/mirror_table.cc
Expand Up @@ -59,7 +59,7 @@ DBEntry *MirrorTable::Add(const DBRequest *req) {

bool MirrorTable::OnChange(MirrorEntry *mirror_entry) {
bool ret = false;
NextHop *nh;
NextHop *nh = NULL;
bool valid_nh = false;
if (mirror_entry->mirror_flags_ ==
MirrorEntryData::DynamicNH_Without_JuniperHdr) {
Expand Down

0 comments on commit b006053

Please sign in to comment.