Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.c

    re417b96 r19f857a  
    709709        measured_string_ref address;
    710710        packet_t packet;
    711         size_t addrlen;
    712         size_t prefix;
    713         size_t suffix;
    714         size_t content;
    715711
    716712//      printf("message %d - %d\n", IPC_GET_METHOD(*call), NET_NIL_FIRST);
     
    725721                        return eth_send_message(IPC_GET_DEVICE(call), packet, IPC_GET_SERVICE(call));
    726722                case NET_NIL_PACKET_SPACE:
    727                         ERROR_PROPAGATE(eth_packet_space_message(IPC_GET_DEVICE(call), &addrlen, &prefix, &content, &suffix));
    728                         IPC_SET_ADDR(answer, addrlen);
    729                         IPC_SET_PREFIX(answer, prefix);
    730                         IPC_SET_CONTENT(answer, content);
    731                         IPC_SET_SUFFIX(answer, suffix);
     723                        ERROR_PROPAGATE(eth_packet_space_message(IPC_GET_DEVICE(call), IPC_SET_ADDR(answer), IPC_SET_PREFIX(answer), IPC_SET_CONTENT(answer), IPC_SET_SUFFIX(answer)));
    732724                        *answer_count = 4;
    733725                        return EOK;
Note: See TracChangeset for help on using the changeset viewer.