Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/reass.c

    r34c1bba ra1a101d  
    139139                    dgram_link);
    140140
    141                 if ((inet_addr_compare(&f1->packet.src, &packet->src)) &&
    142                     (inet_addr_compare(&f1->packet.dest, &packet->dest)) &&
    143                     (f1->packet.proto == packet->proto) &&
    144                     (f1->packet.ident == packet->ident)) {
     141                if (f1->packet.src.ipv4 == packet->src.ipv4 &&
     142                    f1->packet.dest.ipv4 == packet->dest.ipv4 &&
     143                    f1->packet.proto == packet->proto &&
     144                    f1->packet.ident == packet->ident) {
    145145                        /* Match */
    146146                        return rdg;
     
    164164                return NULL;
    165165
    166         list_append(&rdg->map_link, &reass_dgram_map);
     166        link_initialize(&rdg->map_link);
    167167        list_initialize(&rdg->frags);
    168168
Note: See TracChangeset for help on using the changeset viewer.