summaryrefslogtreecommitdiffstats
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-07 22:07:40 +0200
committerhasso <hasso>2004-10-07 22:07:40 +0200
commit1cd80845dc5262ff7d3d38deb1921f0b8390f4df (patch)
treefc41aebc4470a8467663ccdc6dcc4b91edb75769 /isisd/isis_spf.c
parent2004-10-07 Greg Troxel <gdt@claude.ir.bbn.com> (diff)
downloadfrr-1cd80845dc5262ff7d3d38deb1921f0b8390f4df.tar.xz
frr-1cd80845dc5262ff7d3d38deb1921f0b8390f4df.zip
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 1c32f8fce..05015430d 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);
/*