chiark / gitweb /
Log write failures on tun device.
authorRichard Kettlewell <rjk@terraraq.org.uk>
Mon, 11 Jul 2011 18:44:18 +0000 (19:44 +0100)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Mon, 11 Jul 2011 18:55:56 +0000 (19:55 +0100)
commit090dbeef60c7e578950c3dbe807a9e2ea7e24875
tree5d129d94432e2c02c3718684002176da3f3cb8f8
parentbaab3a63ada033b2b9eed46807b2e88536612bbc
Log write failures on tun device.

This is useful when debugging.  Short writes count as failures The
error reporting is rate limited to ensure that the logs are not
flooded.

Signed-off-by: Richard Kettlewell <rjk@terraraq.org.uk>
tun.c