summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-10-01 12:46:21 +0200
committerGitHub <noreply@github.com>2018-10-01 12:46:21 +0200
commitd6127f2cc8cf9f5dcbbc25bb433e8ac185d8b16b (patch)
treeb5011c355fcc0a7b658c6e78440d38d6e7afc9e6 /lib
parentMerge pull request #3103 from dslicenc/bgp-evpn-aggregate (diff)
parentlib: RB-tree copy-paste error (Coverity 1446184) (diff)
downloadfrr-d6127f2cc8cf9f5dcbbc25bb433e8ac185d8b16b.tar.xz
frr-d6127f2cc8cf9f5dcbbc25bb433e8ac185d8b16b.zip
Merge pull request #3106 from pacovn/Coverity_1446184_Copy-paste_error
lib: RB-tree copy-paste error (Coverity 1446184)
Diffstat (limited to 'lib')
-rw-r--r--lib/openbsd-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/openbsd-tree.c b/lib/openbsd-tree.c
index e8d13339b..eadef9902 100644
--- a/lib/openbsd-tree.c
+++ b/lib/openbsd-tree.c
@@ -345,7 +345,7 @@ rbe_remove(const struct rb_type *t, struct rbt_tree *rbt, struct rb_entry *rbe)
else
RBE_RIGHT(tmp) = rbe;
- rbe_if_augment(t, parent);
+ rbe_if_augment(t, tmp);
} else
RBH_ROOT(rbt) = rbe;