Written by Martin Felis <martin@silef.de>

Ported to Opensync 0.3x by Graham Cobb <g+opensync@cobb.uk.net>

