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