spfack.C:

 

 

When a LSA ACK is received with FT-bit = 1 from a node, add the node as a child to the parent-children table. Otherwise, delete the node from the list of children if it is already present.

 

      rtid_t origin;

      origin = ntoh32(hdr->ls_org);

      if((hdr->ls_opts & 128) == 128){

             ospf->add_child_pctable(origin, this);

      }

      else{

             ospf->delete_child_pctable(origin, this);

      }