diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2012-07-12 15:22:07 +0200 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-07-13 10:20:27 +0400 |
commit | 0b99fef73bce3f1abed63e581594de9d1f132312 (patch) | |
tree | 13c2d3cd7aac06d61cb64ae75699b1bae65e69a0 /accel-pppd/triton/spinlock.h | |
parent | 130e1d534f0520d7be3e8812a602c189e3db058d (diff) | |
download | accel-ppp-0b99fef73bce3f1abed63e581594de9d1f132312.tar.gz accel-ppp-0b99fef73bce3f1abed63e581594de9d1f132312.zip |
L2TP: Fix socket() error handling in l2tp_connect()
Check if the tunnel file descriptor has been successfully created.
Explicitely check for negative values to detect socket() errors.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/triton/spinlock.h')
0 files changed, 0 insertions, 0 deletions