summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'eigrpd/eigrp_filter.c')
-rw-r--r--eigrpd/eigrp_filter.c63
1 files changed, 0 insertions, 63 deletions
diff --git a/eigrpd/eigrp_filter.c b/eigrpd/eigrp_filter.c
index 009b57e05f..c77a6fc1b1 100644
--- a/eigrpd/eigrp_filter.c
+++ b/eigrpd/eigrp_filter.c
@@ -124,39 +124,6 @@ void eigrp_distribute_update(struct distribute_ctx *ctx,
} else
e->prefix[EIGRP_FILTER_OUT] = NULL;
-// This is commented out, because the distribute.[ch] code
-// changes looked poorly written from first glance
-// commit was 133bdf2d
-// TODO: DBS
-#if 0
- /* route-map IN for whole process */
- if (dist->route[DISTRIBUTE_V4_IN])
- {
- routemap = route_map_lookup_by_name (dist->route[DISTRIBUTE_V4_IN]);
- if (routemap)
- e->routemap[EIGRP_FILTER_IN] = routemap;
- else
- e->routemap[EIGRP_FILTER_IN] = NULL;
- }
- else
- {
- e->routemap[EIGRP_FILTER_IN] = NULL;
- }
-
- /* route-map OUT for whole process */
- if (dist->route[DISTRIBUTE_V4_OUT])
- {
- routemap = route_map_lookup_by_name (dist->route[DISTRIBUTE_V4_OUT]);
- if (routemap)
- e->routemap[EIGRP_FILTER_OUT] = routemap;
- else
- e->routemap[EIGRP_FILTER_OUT] = NULL;
- }
- else
- {
- e->routemap[EIGRP_FILTER_OUT] = NULL;
- }
-#endif
// TODO: check Graceful restart after 10sec
/* cancel GR scheduled */
@@ -232,36 +199,6 @@ void eigrp_distribute_update(struct distribute_ctx *ctx,
} else
ei->prefix[EIGRP_FILTER_OUT] = NULL;
-#if 0
- /* route-map IN for whole process */
- if (dist->route[DISTRIBUTE_V4_IN])
- {
- zlog_info("<DEBUG ACL ALL in");
- routemap = route_map_lookup_by_name (dist->route[DISTRIBUTE_V4_IN]);
- if (routemap)
- ei->routemap[EIGRP_FILTER_IN] = routemap;
- else
- ei->routemap[EIGRP_FILTER_IN] = NULL;
- }
- else
- {
- ei->routemap[EIGRP_FILTER_IN] = NULL;
- }
-
- /* route-map OUT for whole process */
- if (dist->route[DISTRIBUTE_V4_OUT])
- {
- routemap = route_map_lookup_by_name (dist->route[DISTRIBUTE_V4_OUT]);
- if (routemap)
- ei->routemap[EIGRP_FILTER_OUT] = routemap;
- else
- ei->routemap[EIGRP_FILTER_OUT] = NULL;
- }
- else
- {
- ei->routemap[EIGRP_FILTER_OUT] = NULL;
- }
-#endif
// TODO: check Graceful restart after 10sec
/* Cancel GR scheduled */