Skip to content

Commit

Permalink
Merge pull request FRRouting#6213 from ton31337/fix/moar_bool_stuff
Browse files Browse the repository at this point in the history
bgpd: Replace 0 to false for bool assignment in bgp_update_martian_ne…
  • Loading branch information
qlyoung authored Apr 13, 2020
2 parents 8132da4 + 2dbe3fa commit 4b010cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -3239,7 +3239,7 @@ static bool bgp_update_martian_nexthop(struct bgp *bgp, afi_t afi, safi_t safi,
uint8_t type, uint8_t stype,
struct attr *attr, struct bgp_node *rn)
{
bool ret = 0;
bool ret = false;

/* Only validated for unicast and multicast currently. */
/* Also valid for EVPN where the nexthop is an IP address. */
Expand Down

0 comments on commit 4b010cf

Please sign in to comment.