diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-01-10 00:45:48 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2015-01-11 12:10:52 +0100 |
commit | f7f5b215eadf47fde1300cd8855532bc4bfe0ff4 (patch) | |
tree | 1d0e81eea510d8d90083ca371918dc7b441f82c6 /curve.h | |
parent | b8a9e53262ab24231542e9ce93daadaf3809dac2 (diff) |
sock: Add cause message in case of error
Add error messages which explain the cause of error state of
the socket functions, so it makes message like:
$ ./netsniff-ng/netsniff-ng -i wlp3s0
Creation of PF socket failed: Operation not permitted
more understandable.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curve.h')
0 files changed, 0 insertions, 0 deletions