summaryrefslogtreecommitdiff
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-07 20:07:40 +0000
committerhasso <hasso>2004-10-07 20:07:40 +0000
commit1cd80845dc5262ff7d3d38deb1921f0b8390f4df (patch)
treefc41aebc4470a8467663ccdc6dcc4b91edb75769 /isisd/isis_spf.c
parent54ade99658ea95bf9207b5547fe6a7b97e64c97a (diff)
No warnings here any more.
Diffstat (limited to 'isisd/isis_spf.c')
-rw-r--r--isisd/isis_spf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index 1c32f8fc..05015430 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -174,7 +174,7 @@ vtype2string (enum vertextype vtype)
return NULL; /* Not reached */
}
-char *
+const char *
vid2string (struct isis_vertex *vertex, u_char * buff)
{
switch (vertex->type)
@@ -650,7 +650,7 @@ lspfragloop:
if (fragnode == NULL)
fragnode = listhead (lsp->lspu.frags);
else
- fragnode = nextnode (fragnode);
+ nextnode (fragnode);
if (fragnode)
{
@@ -703,7 +703,7 @@ pseudofragloop:
if (fragnode == NULL)
fragnode = listhead (lsp->lspu.frags);
else
- fragnode = nextnode (fragnode);
+ nextnode (fragnode);
if (fragnode)
{
@@ -800,7 +800,7 @@ isis_spf_preload_tent (struct isis_spftree *spftree,
adj = getdata (anode);
if (!speaks (&adj->nlpids, family))
{
- anode = nextnode (anode);
+ nextnode (anode);
continue;
}
switch (adj->sys_type)
@@ -834,7 +834,7 @@ isis_spf_preload_tent (struct isis_spftree *spftree,
default:
zlog_warn ("isis_spf_preload_tent unknow adj type");
}
- anode = nextnode (anode);
+ nextnode (anode);
}
list_delete (adj_list);
/*