diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-10-10 13:31:19 -0400 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-11 05:02:48 +0000 |
| commit | 0f02b85a187cbaa001b34ab90ae368be5e638ccc (patch) | |
| tree | fc352b7d24479c1f82cdf99907cb16c3a80895a3 /bgpd | |
| parent | 8ed3bbd19dd03bb9fdcb82e4784f004faa9af868 (diff) | |
Revert "bgpd: fix link_state_hash_cmp()"
This reverts commit 25408c8dbf7d9e0149ceb2dcbd2058860ce4f6c5.
(cherry picked from commit 2263d1163074f24cc20d75156ee9efe1042b0c6a)
Diffstat (limited to 'bgpd')
| -rw-r--r-- | bgpd/bgp_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 808b98e419..05cf63e053 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -780,7 +780,7 @@ static bool link_state_hash_cmp(const void *p1, const void *p2) if (!link_state1 && link_state2) return false; - if (link_state1 && !link_state2) + if (!link_state1 && link_state2) return false; if (!link_state1 && !link_state2) return true; |
