diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2011-12-06 00:30:30 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-12-06 01:25:15 +0100 |
commit | 0fb997733a0bb4e3f7a0c073c19a2e302be1fbae (patch) | |
tree | 0c83ad9daa089a7957e08a8f25c9d7c87041ecfc /sutils/e2os.sh | |
parent | a552d956e86682b4af80c8fa5e6cc48282fd5a28 (diff) |
Fix error values on socket creation
On socket creation, return the correct errno values, EPROTOTYPE and
EPROTONOSUPPORT, for invalid socket types and protocols.
* pfinet/socket-ops.c (S_socket_create): Correctly return EPROTOTYPE and
EPROTONOSUPPORT.
* pflocal/pf.c (S_socket_create): Correctly return EPROTOTYPE.
Diffstat (limited to 'sutils/e2os.sh')
0 files changed, 0 insertions, 0 deletions