summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2018-04-18 10:21:38 -0300
committerGitHub <noreply@github.com>2018-04-18 10:21:38 -0300
commitc477dd0e7c5b38920cd0f79a2a08b0277270bbe9 (patch)
treef35fef7ccb400770d3ad5132376482012b1e738c
parente49b64dee719b86b4844f0e3868b0f0bb6469e4d (diff)
parent85c615ac306123ed1342e55d39d9f042f5205617 (diff)
Merge pull request #2078 from dslicenc/fix-import-table-fix
zebra: fix flaw in fix for import-table crash
-rw-r--r--zebra/redistribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 6a7a75f209..2e19d6fb75 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -531,7 +531,7 @@ int zebra_add_import_table_entry(struct route_node *rn, struct route_entry *re,
re->tag, rmap_name);
if (ret != RMAP_MATCH) {
- UNSET_FLAG(same->flags, ZEBRA_FLAG_SELECTED);
+ UNSET_FLAG(re->flags, ZEBRA_FLAG_SELECTED);
zebra_del_import_table_entry(rn, re);
return 0;
}