add an XXX at a point where ifindex_num is assumed to be one w/o

checking.
This commit is contained in:
gdt 2004-02-13 17:40:51 +00:00
parent 4a1a271663
commit 6a8da8521d

View File

@ -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))