[Swan-dev] does addconn need to call resolve_defaultroute_one()?

Andrew Cagney andrew.cagney at gmail.com
Sun Jul 22 21:06:24 UTC 2018


On Sun, 22 Jul 2018 at 15:06, Paul Wouters <paul at nohats.ca> wrote:
>
> On Tue, 17 Jul 2018, Andrew Cagney wrote:
>
> > Subject: [Swan-dev] does addconn need to call resolve_defaultroute_one()?
>
> >
> > Since pluto is calling it anyway?
>
> I only see pluto calls in IKEv2, not IKEv1. So that makes me believe
> that yes it is still needed.
>
> orient(c) is called at the end of add_connection() and neither functions
> call resolve_defaultroute_one(). So it wouldn't orient properly without
> it? That can be changed but that's more then just removing a call from
> addconn.

Ah.  So, for instance, a call in pluto where the connection is being
created would be needed - on the receiving end instead of the sending
end of a whack exchange so to speak.

Later.

Andrew


More information about the Swan-dev mailing list