Changeset 0773396 in mainline for uspace/srv/net/slip/slip.c
- Timestamp:
- 2013-12-25T13:05:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc54126c
- Parents:
- f4a47e52 (diff), 6946f23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/slip/slip.c
rf4a47e52 r0773396 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.