Changes in uspace/srv/net/il/ip/ip.c [228e490:8e58f94] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/ip/ip.c
r228e490 r8e58f94 430 430 // binds the netif service which also initializes the device 431 431 ip_netif->phone = nil_bind_service(ip_netif->service, 432 ( sysarg_t) ip_netif->device_id, SERVICE_IP,432 (ipcarg_t) ip_netif->device_id, SERVICE_IP, 433 433 ip_globals.client_connection); 434 434 if (ip_netif->phone < 0) { … … 461 461 462 462 if (ip_netif->packet_dimension.content < IP_MIN_CONTENT) { 463 printf("Maximum transmission unit % zubytes is too small, at "463 printf("Maximum transmission unit %d bytes is too small, at " 464 464 "least %d bytes are needed\n", 465 465 ip_netif->packet_dimension.content, IP_MIN_CONTENT); … … 502 502 fibril_rwlock_write_unlock(&ip_globals.netifs_lock); 503 503 504 printf("%s: Device %d changed MTU to % zu\n", NAME, device_id, mtu);504 printf("%s: Device %d changed MTU to %d\n", NAME, device_id, mtu); 505 505 506 506 return EOK; … … 1902 1902 1903 1903 *answer_count = 0; 1904 switch (IPC_GET_ IMETHOD(*call)) {1904 switch (IPC_GET_METHOD(*call)) { 1905 1905 case IPC_M_PHONE_HUNGUP: 1906 1906 return EOK; … … 2025 2025 * result. 2026 2026 */ 2027 if ((IPC_GET_ IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||2027 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) || 2028 2028 (res == EHANGUP)) { 2029 2029 return;
Note:
See TracChangeset
for help on using the changeset viewer.