Changeset 0773396 in mainline for uspace/srv/net/slip/slip.c


Ignore:
Timestamp:
2013-12-25T13:05:25Z (10 years ago)
Author:
Martin Decky <martin@…>
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.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/slip/slip.c

    rf4a47e52 r0773396  
    3838#include <stdint.h>
    3939#include <loc.h>
    40 #include <net/socket_codes.h>
    4140#include <inet/addr.h>
    4241#include <inet/iplink_srv.h>
     
    277276
    278277pass:
    279                 rc = iplink_ev_recv(&slip_iplink, &sdu, AF_INET);
     278                rc = iplink_ev_recv(&slip_iplink, &sdu, ip_v4);
    280279                if (rc != EOK) {
    281280                        log_msg(LOG_DEFAULT, LVL_ERROR,
     
    333332                    "Failed to connect to service %s (ID=%d)",
    334333                    svcstr, (int) svcid);
    335                 return rc;
     334                return ENOENT;
    336335        }
    337336        slip_iplink.arg = sess_out;
     
    342341                    "Failed to connect to service %s (ID=%d)",
    343342                    svcstr, (int) svcid);
     343                rc = ENOENT;
    344344                goto fail;
    345345        }
     
    365365                log_msg(LOG_DEFAULT, LVL_ERROR,
    366366                    "Failed to create receive fibril.");
     367                rc = ENOENT;
    367368                goto fail;
    368369        }
Note: See TracChangeset for help on using the changeset viewer.