Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r28a3e74 r6b82009  
    3636
    3737#include <packet_server.h>
    38 
    3938#include <align.h>
    4039#include <assert.h>
     
    317316 *                      packet_release_wrapper() function.
    318317 */
    319 int
    320 packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
     318int packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
    321319    size_t *answer_count)
    322320{
    323321        packet_t *packet;
    324 
     322       
     323        if (!IPC_GET_IMETHOD(*call))
     324                return EOK;
     325       
    325326        *answer_count = 0;
    326327        switch (IPC_GET_IMETHOD(*call)) {
    327         case IPC_M_PHONE_HUNGUP:
    328                 return EOK;
    329        
    330328        case NET_PACKET_CREATE_1:
    331329                packet = packet_get_local(DEFAULT_ADDR_LEN, DEFAULT_PREFIX,
Note: See TracChangeset for help on using the changeset viewer.