Changes in uspace/srv/net/tl/icmp/icmp.c [79ae36dd:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/icmp/icmp.c
r79ae36dd rffa2c8ef 612 612 static void icmp_receiver(ipc_callid_t iid, ipc_call_t *icall) 613 613 { 614 bool loop = true; 614 615 packet_t *packet; 615 616 int rc; 616 617 617 while (true) { 618 if (!IPC_GET_IMETHOD(*icall)) 619 break; 620 618 while (loop) { 621 619 switch (IPC_GET_IMETHOD(*icall)) { 622 620 case NET_TL_RECEIVED: … … 631 629 async_answer_0(iid, (sysarg_t) rc); 632 630 break; 631 case IPC_M_PHONE_HUNGUP: 632 loop = false; 633 continue; 633 634 default: 634 635 async_answer_0(iid, (sysarg_t) ENOTSUP);
Note:
See TracChangeset
for help on using the changeset viewer.