From: paco Date: Thu, 28 Jun 2018 13:31:38 +0000 (+0200) Subject: bgpd: copy-paste error (Coverity 1399202) X-Git-Tag: frr-6.1-dev~213^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=343cdb6143405c5b69b096c3b35d77b91e873fa9;p=matthieu%2Ffrr.git bgpd: copy-paste error (Coverity 1399202) Signed-off-by: F. Aragon --- 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); }