summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-08-25 16:42:14 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-08-25 16:42:14 +0200
commitb49e6f5a65d437cb7e7bdefe8397e0f550496012 (patch)
tree21e0f77023119de17ea8ab6ab7871b1026db92e6 /nest
parentc3226991a061415fa83b757cbff678111c586e58 (diff)
downloadbird-b49e6f5a65d437cb7e7bdefe8397e0f550496012.tar
bird-b49e6f5a65d437cb7e7bdefe8397e0f550496012.zip
Temporary OSPFv3 development commit
Diffstat (limited to 'nest')
-rw-r--r--nest/a-path.c2
-rw-r--r--nest/rt-attr.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/nest/a-path.c b/nest/a-path.c
index dba214d..5aacf8f 100644
--- a/nest/a-path.c
+++ b/nest/a-path.c
@@ -298,7 +298,7 @@ parse_path(struct adata *path, struct pm_pos *pos)
u8 *p = path->data;
u8 *q = p + path->length;
struct pm_pos *opos = pos;
- int i, j, len;
+ int i, len;
while (p < q)
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 8daebae..de63198 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -71,7 +71,6 @@ ea__find(ea_list *e, unsigned id)
while (e)
{
- /*
if (e->flags & EALF_BISECT)
{
l = 0;
@@ -89,7 +88,6 @@ ea__find(ea_list *e, unsigned id)
}
}
else
- */
for(m=0; m<e->count; m++)
if (e->attrs[m].id == id)
return &e->attrs[m];