summaryrefslogtreecommitdiff
path: root/ripngd/ripng_interface.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-08 06:32:23 +0000
committerhasso <hasso>2004-10-08 06:32:23 +0000
commit7a1d583c02253c53605f310d1afcc9f1c8e15b7b (patch)
tree38652398c60620d195bb6b74f97ad4770af559e5 /ripngd/ripng_interface.c
parent27a43a81004b620e571f71aa1ea4db182c607862 (diff)
Only warning left is the known lvalue problem in ripng_nexthop.c.
Diffstat (limited to 'ripngd/ripng_interface.c')
-rw-r--r--ripngd/ripng_interface.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index 126829f6..eb9005c3 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -604,7 +604,7 @@ ripng_enable_network_add (struct prefix *p)
return -1;
}
else
- node->info = "enabled";
+ node->info = (char *) "enabled";
/* XXX: One should find a better solution than a generic one */
ripng_enable_apply_all();
@@ -638,7 +638,7 @@ ripng_enable_network_delete (struct prefix *p)
int
ripng_enable_if_lookup (char *ifname)
{
- int i;
+ unsigned int i;
char *str;
for (i = 0; i < vector_max (ripng_enable_if); i++)
@@ -836,7 +836,7 @@ ripng_enable_apply_all ()
void
ripng_clean_network ()
{
- int i;
+ unsigned int i;
char *str;
struct route_node *rn;
@@ -862,7 +862,7 @@ vector Vripng_passive_interface;
int
ripng_passive_interface_lookup (char *ifname)
{
- int i;
+ unsigned int i;
char *str;
for (i = 0; i < vector_max (Vripng_passive_interface); i++)
@@ -937,7 +937,7 @@ ripng_passive_interface_unset (struct vty *vty, char *ifname)
void
ripng_passive_interface_clean (void)
{
- int i;
+ unsigned int i;
char *str;
for (i = 0; i < vector_max (Vripng_passive_interface); i++)
@@ -953,7 +953,7 @@ ripng_passive_interface_clean (void)
int
ripng_network_write (struct vty *vty, int config_mode)
{
- int i;
+ unsigned int i;
char *ifname;
struct route_node *node;
char buf[BUFSIZ];