summaryrefslogtreecommitdiffstats
path: root/zebra/rt_ioctl.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-15 21:31:29 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-15 21:31:29 -0700
commit4535c40dc4dee1822fed7f2a14e92b04f5d48f94 (patch)
tree908f9c2cd066e0685f0c1cc1211daa89066dbfc7 /zebra/rt_ioctl.c
parent0fbcf52a9adaebc56c0be48856b4aa725b1311b6 (diff)
downloadquagga-4535c40dc4dee1822fed7f2a14e92b04f5d48f94.tar.bz2
quagga-4535c40dc4dee1822fed7f2a14e92b04f5d48f94.tar.xz
Manage system routes with zebra
This adds a new flag to the zebra daemon that causes it to add and remove system routes (ie connected and kernel routes). This causes user space (zebra) to do what the kernel was doing in hollwood.
Diffstat (limited to 'zebra/rt_ioctl.c')
-rw-r--r--zebra/rt_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rt_ioctl.c b/zebra/rt_ioctl.c
index a5d588c7..d39ec4df 100644
--- a/zebra/rt_ioctl.c
+++ b/zebra/rt_ioctl.c
@@ -553,8 +553,8 @@ kernel_delete_ipv6 (struct prefix *p, struct rib *rib)
/* 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)
+ unsigned int index, int table)
{
- return kernel_ioctl_ipv6 (SIOCDELRT, dest, gate, index, flags);
+ return kernel_ioctl_ipv6 (SIOCDELRT, dest, gate, index, 0;
}
#endif /* HAVE_IPV6 */