diff options
Diffstat (limited to 'zebra/redistribute.c')
| -rw-r--r-- | zebra/redistribute.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 1899a4d114..8cd3dddd4a 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -534,8 +534,7 @@ zebra_add_import_table_entry (struct route_node *rn, struct rib *rib) if (rib->nexthop_num == 1) { nhop = rib->nexthop; - if ((nhop->type == NEXTHOP_TYPE_IFINDEX) || - (nhop->type == NEXTHOP_TYPE_IFNAME)) + if (nhop->type == NEXTHOP_TYPE_IFINDEX) gate = NULL; else gate = &nhop->gate.ipv4; |
