1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Removing (struct rta)->cast. Never used.

This commit is contained in:
Jan Moskyto Matejka
2016-06-07 11:46:07 +02:00
parent 4e276a8920
commit 5b208e296f
14 changed files with 19 additions and 39 deletions

View File

@@ -147,7 +147,6 @@ krt_capable(rte *e)
rta *a = e->attrs;
return
a->cast == RTC_UNICAST &&
((a->dest == RTD_UNICAST && !a->nh.next) /* No multipath support */
#ifdef RTF_REJECT
|| a->dest == RTD_UNREACHABLE
@@ -470,7 +469,6 @@ krt_read_route(struct ks_msg *msg, struct krt_proto *p, int scan)
.src = p->p.main_source,
.source = RTS_INHERIT,
.scope = SCOPE_UNIVERSE,
.cast = RTC_UNICAST
};
/* reject/blackhole routes have also set RTF_GATEWAY,