Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/udp/udp_inet.c

    r695b6ff ra1a101d  
    6767        pdu->data_size = dgram->size;
    6868
    69         pdu->src = dgram->src;
    70         pdu->dest = dgram->dest;
     69        pdu->src.ipv4 = dgram->src.ipv4;
     70        pdu->dest.ipv4 = dgram->dest.ipv4;
     71        log_msg(LOG_DEFAULT, LVL_DEBUG, "src: 0x%08x, dest: 0x%08x",
     72            pdu->src.ipv4, pdu->dest.ipv4);
    7173
    7274        udp_received_pdu(pdu);
     
    8486        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_transmit_pdu()");
    8587
    86         dgram.iplink = pdu->iplink;
    87         dgram.src = pdu->src;
    88         dgram.dest = pdu->dest;
     88        dgram.src.ipv4 = pdu->src.ipv4;
     89        dgram.dest.ipv4 = pdu->dest.ipv4;
    8990        dgram.tos = 0;
    9091        dgram.data = pdu->data;
Note: See TracChangeset for help on using the changeset viewer.