Hi,

On Mon, Aug 09, 2021 at 11:24:44AM +0200, Antonio Quartulli wrote:
> On 06/08/2021 13:01, Gert Doering wrote:
> > --ifconfig-ipv6 takes two parameters, "local ipv6 address / netbits"
> > and "remote ipv6 address".
> > 
> > We only *need* a remote ipv6 address if we are in TAP mode, want to
> > install --route-ipv6 routes, and neither --route-ipv6-gateway is set
> > nor a gateway is included in the --route-ipv6 statement.

So that it's not lost:  more review of route.c uncovered that the
FreeBSD, OpenBSD, NetBSD and AIX code paths always need a gateway,
but this is not checked properly.

#elif defined(TARGET_NETBSD)
     
    argv_printf(&argv, "%s add -inet6 %s/%d %s",
                ROUTE_PATH,
                network, r6->netbits, gateway );

(etc)

v2 coming...

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to