summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt>2004-02-13 17:40:51 +0000
committergdt <gdt>2004-02-13 17:40:51 +0000
commit6a8da8521d35165e9a859c84605f864feb9132d7 (patch)
tree1a1c410220605eb8e83b57ea650b7ea00d91c272
parent4a1a2716632c29f05fce8324e4c41bc67cde18c6 (diff)
add an XXX at a point where ifindex_num is assumed to be one w/o
checking.
-rw-r--r--ospfd/ospf_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 06916aee..0910a506 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -809,6 +809,7 @@ ospf_zebra_read_ipv4 (int command, struct zclient *zclient,
if (CHECK_FLAG (api.message, ZAPI_MESSAGE_IFINDEX))
{
api.ifindex_num = stream_getc (s);
+ /* XXX assert(api.ifindex_num == 1); */
ifindex = stream_getl (s);
}
if (CHECK_FLAG (api.message, ZAPI_MESSAGE_DISTANCE))