From 6a8da8521d35165e9a859c84605f864feb9132d7 Mon Sep 17 00:00:00 2001 From: gdt Date: Fri, 13 Feb 2004 17:40:51 +0000 Subject: add an XXX at a point where ifindex_num is assumed to be one w/o checking. --- ospfd/ospf_zebra.c | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.1