summaryrefslogtreecommitdiff
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-09-20 20:50:47 -0300
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 09:31:24 -0400
commita4b46f4c16bd4cb1f2c890c08ff541468d59d9b3 (patch)
tree0aeca486b13a1d95e3a76202d91fb7bfd7f8551b /ospfd/ospf_zebra.c
parent7fe041ac83786e9014460a69296591d7981763f6 (diff)
*: remove dead code
Since recently zebra uses only the ZEBRA_REDISTRIBUTE_* messages to advertise redistributed routes to its clientes. Now the old ZEBRA_IPV*_ROUTE_* messages are only used for client->zebra communication. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index c0b94a3360..8752e83ed5 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -1601,8 +1601,6 @@ ospf_zebra_init (struct thread_master *master, u_short instance)
zclient->interface_address_delete = ospf_interface_address_delete;
zclient->interface_link_params = ospf_interface_link_params;
- zclient->ipv4_route_add = ospf_zebra_read_ipv4;
- zclient->ipv4_route_delete = ospf_zebra_read_ipv4;
zclient->redistribute_route_ipv4_add = ospf_zebra_read_ipv4;
zclient->redistribute_route_ipv4_del = ospf_zebra_read_ipv4;