]> git.puffer.fish Git - mirror/frr.git/commitdiff
add an XXX at a point where ifindex_num is assumed to be one w/o
authorgdt <gdt>
Fri, 13 Feb 2004 17:40:51 +0000 (17:40 +0000)
committergdt <gdt>
Fri, 13 Feb 2004 17:40:51 +0000 (17:40 +0000)
checking.

ospfd/ospf_zebra.c

index 06916aee8188aed5fc244c89a47d13ad4700dbd3..0910a5061eeb2b0aaaabb408fa20389a66d22b2b 100644 (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))