Commit Graph
4 Commits
Author SHA1 Message Date
Stuart HendersonandNikos Mavrogiannopoulos 56c2d9a74a header/macro fix for OpenBSD
Signed-off-by: Stuart Henderson <stu@spacehopper.org>
2015-02-14 18:53:26 +01:00
Stuart HendersonandNikos Mavrogiannopoulos 7cb57b162b correct byte-order for tun header
Signed-off-by: Stuart Henderson <stu@spacehopper.org>
2015-02-14 18:51:59 +01:00
Stuart HendersonandNikos Mavrogiannopoulos 2c0849c8a9 BSD patches for ocserv
Iterate over tunXX devices, for BSDs that can't just open /dev/tun to
retrieve the "next available tun".

This is just copied with minor changes from openconnect/src/tun.c,

Signed-off-by: Stuart Henderson <stu@spacehopper.org>
2015-02-13 23:21:05 +01:00
Stuart HendersonandNikos Mavrogiannopoulos a2b947de6f BSD patches for ocserv
Hi Nikos, here are patches for a couple of issues which are stopping ocserv
from building on OpenBSD (and might be causing problems on other OS too).
There's a bit more to do for OpenBSD, it does need the iteration as done
in openconnect's tun.c:405-410, I might have another diff for that later.

Signed-off-by: Stuart Henderson <stu@spacehopper.org>
2015-02-13 20:34:13 +01:00