summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaco <paco@voltanet.io>2018-06-28 15:31:38 +0200
committerpaco <paco@voltanet.io>2018-06-28 15:31:38 +0200
commit343cdb6143405c5b69b096c3b35d77b91e873fa9 (patch)
tree31a2c8ad47d5f03469199e3c05b740428596278d
parent62a9c814e1721a76b251d7c8861c51f196458695 (diff)
bgpd: copy-paste error (Coverity 1399202)
Signed-off-by: F. Aragon <paco@voltanet.io>
-rw-r--r--bgpd/bgp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 3d1fdfd38d..189b2f0ba9 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -7072,7 +7072,7 @@ static int bgp_clear_prefix(struct vty *vty, const char *view_name,
!= NULL) {
if (rm->p.prefixlen
== match.prefixlen) {
- SET_FLAG(rn->flags,
+ SET_FLAG(rm->flags,
BGP_NODE_USER_CLEAR);
bgp_process(bgp, rm, afi, safi);
}