Thanks for the report and the fix! Your change looks right to me, and I've put it into the oskit mainline sources.