Changeset 08a6382 in mainline for uspace/srv/net/udp/sock.c


Ignore:
Timestamp:
2012-08-12T20:17:31Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e5e73af
Parents:
f85ed4b
Message:

Fixes to get DNS query acceptable by looking at analyzer output. Fix assertion failure in UDP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/udp/sock.c

    rf85ed4b r08a6382  
    359359                        rc = EOK;
    360360                        break;
    361 /*              case TCP_ENOTEXIST:
     361                case UDP_ENORES:
    362362                        rc = ENOTCONN;
    363363                        break;
    364                 case TCP_ECLOSING:
    365                         rc = ENOTCONN;
    366                         break;
    367                 case TCP_ERESET:
    368                         rc = ECONNABORTED;
    369                         break;*/
     364                case UDP_EUNSPEC:
     365                        rc = EINVAL;
     366                        break;
     367                case UDP_ENOROUTE:
     368                        rc = EIO;
     369                        break;
    370370                default:
    371371                        assert(false);
Note: See TracChangeset for help on using the changeset viewer.