summaryrefslogtreecommitdiff
path: root/staging/cli.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-01-10 00:45:48 +0200
committerDaniel Borkmann <dborkman@redhat.com>2015-01-11 12:10:52 +0100
commitf7f5b215eadf47fde1300cd8855532bc4bfe0ff4 (patch)
tree1d0e81eea510d8d90083ca371918dc7b441f82c6 /staging/cli.c
parentb8a9e53262ab24231542e9ce93daadaf3809dac2 (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 'staging/cli.c')
0 files changed, 0 insertions, 0 deletions