[ssh_x509] Fix for openbsd-compat/port-net.c for OS X

ssh_x509 at roumenpetrov.info ssh_x509 at roumenpetrov.info
Wed Apr 4 00:23:13 EEST 2018


Roumen,

Downloaded 11.3 and tried to compile it under OS X.

So, I need a little debugging and changed openbsd-compat/port-net.c from

#ifdef SSH_TUN_DARWIN
#include <sys/sys_domain.h>
#include <sys/kern_control.h>
#include <net/if_utun.h>

int
sys_tun_open(int tun, int mode)
{

to

#ifdef SSH_TUN_DARWIN
#include <sys/sys_domain.h>
#include <sys/kern_control.h>
#include <net/if_utun.h>

int
sys_tun_open(int tun, int mode, char **ifname)
{

It's line 299 in openbsd-compat/port-net.c from sys_tun_open(int tun, int
mode) to sys_tun_open(int tun, int mode, char **ifname)

Compiles and works after that change.

Jose


More information about the ssh_x509 mailing list