diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-13 20:39:31 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-13 20:39:31 +0300 |
| commit | 2dbe3fa97bac3b525fd41eda221d2a019f9f5646 (patch) | |
| tree | a0aaeee73e412f122fee32c42ce4836ccb839ab0 | |
| parent | f9dfa64797e910c1229ad87e1116436c2836f59c (diff) | |
bgpd: Replace 0 to false for bool assignment in bgp_update_martian_nexthop()
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
| -rw-r--r-- | bgpd/bgp_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 007f53907f..1d8be6496d 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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. */ |
