mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:03:07 +00:00
add an XXX at a point where ifindex_num is assumed to be one w/o
checking.
This commit is contained in:
parent
4a1a271663
commit
6a8da8521d
@ -809,6 +809,7 @@ ospf_zebra_read_ipv4 (int command, struct zclient *zclient,
|
|||||||
if (CHECK_FLAG (api.message, ZAPI_MESSAGE_IFINDEX))
|
if (CHECK_FLAG (api.message, ZAPI_MESSAGE_IFINDEX))
|
||||||
{
|
{
|
||||||
api.ifindex_num = stream_getc (s);
|
api.ifindex_num = stream_getc (s);
|
||||||
|
/* XXX assert(api.ifindex_num == 1); */
|
||||||
ifindex = stream_getl (s);
|
ifindex = stream_getl (s);
|
||||||
}
|
}
|
||||||
if (CHECK_FLAG (api.message, ZAPI_MESSAGE_DISTANCE))
|
if (CHECK_FLAG (api.message, ZAPI_MESSAGE_DISTANCE))
|
||||||
|
Loading…
Reference in New Issue
Block a user