Changes in uspace/srv/net/slip/slip.c [a17356fd:417a2ba1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/slip/slip.c
ra17356fd r417a2ba1 38 38 #include <stdint.h> 39 39 #include <loc.h> 40 #include <net/socket_codes.h>41 40 #include <inet/addr.h> 42 41 #include <inet/iplink_srv.h> … … 277 276 278 277 pass: 279 rc = iplink_ev_recv(&slip_iplink, &sdu, AF_INET);278 rc = iplink_ev_recv(&slip_iplink, &sdu, ip_v4); 280 279 if (rc != EOK) { 281 280 log_msg(LOG_DEFAULT, LVL_ERROR, … … 333 332 "Failed to connect to service %s (ID=%d)", 334 333 svcstr, (int) svcid); 335 return rc;334 return ENOENT; 336 335 } 337 336 slip_iplink.arg = sess_out; … … 342 341 "Failed to connect to service %s (ID=%d)", 343 342 svcstr, (int) svcid); 343 rc = ENOENT; 344 344 goto fail; 345 345 } … … 365 365 log_msg(LOG_DEFAULT, LVL_ERROR, 366 366 "Failed to create receive fibril."); 367 rc = ENOENT; 367 368 goto fail; 368 369 }
Note:
See TracChangeset
for help on using the changeset viewer.