diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2014-06-28 21:28:50 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 17:25:13 +0200 |
commit | 9e3a437b020ea574fcfe95002b095303f7f18c26 (patch) | |
tree | 9d4db610a9c7c0b4e172df6eee1af355844bf716 /zebra/rt_socket.c | |
parent | Author: Timo Teräs <timo.teras@iki.fi> (diff) | |
download | frr-9e3a437b020ea574fcfe95002b095303f7f18c26.tar.xz frr-9e3a437b020ea574fcfe95002b095303f7f18c26.zip |
zebra: remove kernel_delete_ipv6_old()
The only user of this was rib_bogus_ipv6(), which was removed in the
previous commit. Good riddance.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Acked-by: Greg Troxel <gdt@ir.bbn.com>
Acked-by: Feng Lu <lu.feng@6wind.com>
Acked-by: Paul Jakma <paul@jakma.org>
(cherry picked from commit 51bdebad99fe813d1b7104543b352f0e39b1c8dc)
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r-- | zebra/rt_socket.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index cc327ffbb..ca2ddc1fc 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -489,20 +489,4 @@ kernel_delete_ipv6 (struct prefix *p, struct rib *rib) return route; } - -/* Delete IPv6 route from the kernel. */ -int -kernel_delete_ipv6_old (struct prefix_ipv6 *dest, struct in6_addr *gate, - unsigned int index, int flags, int table) -{ - int route; - - if (zserv_privs.change(ZPRIVS_RAISE)) - zlog (NULL, LOG_ERR, "Can't raise privileges"); - route = kernel_rtm_ipv6 (RTM_DELETE, dest, gate, index, flags); - if (zserv_privs.change(ZPRIVS_LOWER)) - zlog (NULL, LOG_ERR, "Can't lower privileges"); - - return route; -} #endif /* HAVE_IPV6 */ |