summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_zebra.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-27 14:25:29 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-27 14:25:29 -0700
commitea01b56bc3f43b268d32d175095a2a930d3b2967 (patch)
treee3e11bc827541bc983105a731636a78bc30bb5fa /ripngd/ripng_zebra.c
parent0eb78a78cffc4a5c13e2b5daff5fa257b3f1d8d6 (diff)
parentd3e384e4f00aa90db4310f82f3cbe6528e256334 (diff)
downloadquagga-ea01b56bc3f43b268d32d175095a2a930d3b2967.tar.bz2
quagga-ea01b56bc3f43b268d32d175095a2a930d3b2967.tar.xz
Merge in latest quagga (0.99.11)
Merge in current upstream version of quagga.
Diffstat (limited to 'ripngd/ripng_zebra.c')
-rw-r--r--ripngd/ripng_zebra.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c
index c624454e..4c444550 100644
--- a/ripngd/ripng_zebra.c
+++ b/ripngd/ripng_zebra.c
@@ -89,7 +89,7 @@ ripng_zebra_ipv6_delete (struct prefix_ipv6 *p, struct in6_addr *nexthop,
}
/* Zebra route add and delete treatment. */
-int
+static int
ripng_zebra_read_ipv6 (int command, struct zclient *zclient,
zebra_size_t length)
{
@@ -143,12 +143,12 @@ ripng_zebra_read_ipv6 (int command, struct zclient *zclient,
}
void
-ripng_zclient_reset ()
+ripng_zclient_reset (void)
{
zclient_reset (zclient);
}
-int
+static int
ripng_redistribute_unset (int type)
{
if (! zclient->redist[type])
@@ -170,14 +170,14 @@ ripng_redistribute_check (int type)
return (zclient->redist[type]);
}
-void
+static void
ripng_redistribute_metric_set (int type, int metric)
{
ripng->route_map[type].metric_config = 1;
ripng->route_map[type].metric = metric;
}
-int
+static int
ripng_redistribute_metric_unset (int type)
{
ripng->route_map[type].metric_config = 0;
@@ -185,7 +185,7 @@ ripng_redistribute_metric_unset (int type)
return 0;
}
-void
+static void
ripng_redistribute_routemap_set (int type, const char *name)
{
if (ripng->route_map[type].name)
@@ -195,7 +195,7 @@ ripng_redistribute_routemap_set (int type, const char *name)
ripng->route_map[type].map = route_map_lookup_by_name (name);
}
-void
+static void
ripng_redistribute_routemap_unset (int type)
{
if (ripng->route_map[type].name)
@@ -520,7 +520,7 @@ ripng_redistribute_write (struct vty *vty, int config_mode)
}
/* RIPng configuration write function. */
-int
+static int
zebra_config_write (struct vty *vty)
{
if (! zclient->enable)