Skip to content

Commit

Permalink
bgpd: fix code style
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroki Shirokura <[email protected]>
  • Loading branch information
slankdev committed Jun 2, 2021
1 parent c71bbc1 commit 20e58b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_nht.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static int bgp_isvalid_labeled_nexthop(struct bgp_nexthop_cache *bnc)
return (bgp_zebra_num_connects() == 0
|| (bnc && bnc->nexthop_num > 0
&& (CHECK_FLAG(bnc->flags, BGP_NEXTHOP_LABELED_VALID)
|| bnc->bgp->srv6_enabled)));
|| bnc->bgp->srv6_enabled)));
}

static void bgp_unlink_nexthop_check(struct bgp_nexthop_cache *bnc)
Expand Down

0 comments on commit 20e58b3

Please sign in to comment.