summaryrefslogtreecommitdiff
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
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);
/*