commit | 6a8da8521d35165e9a859c84605f864feb9132d7 | [log] [tgz] |
---|---|---|
author | gdt <gdt> | Fri Feb 13 17:40:51 2004 +0000 |
committer | gdt <gdt> | Fri Feb 13 17:40:51 2004 +0000 |
tree | 1a1c410220605eb8e83b57ea650b7ea00d91c272 | |
parent | 4a1a2716632c29f05fce8324e4c41bc67cde18c6 [diff] |
add an XXX at a point where ifindex_num is assumed to be one w/o checking.
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 06916ae..0910a50 100644 --- a/ospfd/ospf_zebra.c +++ b/ospfd/ospf_zebra.c
@@ -809,6 +809,7 @@ 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))