Skip to content

Commit

Permalink
Fix misleading indentation.
Browse files Browse the repository at this point in the history
Code would have worked regardless, but this is cleaner and fixes warnings
on gcc 6.

Initial patch by: Jose M Calhariz <jose@calhariz.com>

Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Jul 15, 2016
1 parent b2e40f4 commit 525bcf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xorp/bgp/route_table_ribin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,10 @@ RibInTable<A>::lookup_route(const IPNet<A> &net, uint32_t& genid,
new FastPathAttributeList<A>(pa_list);
fpa_list_ref = fpa_list;
return &(iter.payload());
} else
} else {
fpa_list_ref = NULL;
return NULL;
}
}

template<class A>
Expand Down

0 comments on commit 525bcf1

Please sign in to comment.