Date: Thu, 22 Oct 2015 17:25:24 +0200 From: Gert Doering Message-ID: <20151022152524.GK22054@...1296...> References: <1445519360-24866-1-git-send-email-lstipakov@...277...> <20151022132635.GF22054@...1296...> <1445521155.4113.71.camel@...1866...> <20151022135158.GG22054@...1296...> <1445522144.4113.79.camel@...1866...> <20151022135935.GH22054@...1296...> <5628F2E2.1050500@...277...> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DPGiAlqRWFF+9Gvq" Content-Disposition: inline In-Reply-To: <5628F2E2.1050500@...277...> Subject: Re: [Openvpn-devel] [PATCH] Use adapter index instead of name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lev Stipakov Cc: openvpn-devel@lists.sourceforge.net --DPGiAlqRWFF+9Gvq Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, On Thu, Oct 22, 2015 at 05:29:54PM +0300, Lev Stipakov wrote: > > And with interface indexes, it works all the time? >=20 > We have tested it on a few machines which previously have had this=20 > problem and this patch has fixed that. We will test it for larger=20 > audience in near future and report results. As a side note: the new IPv6 "redirect gateway ipv6" stuff also only uses adapter indexes, so I'm pretty confident that "install route and ifconfig via adapter index" is a good approach (if only to avoid spaces and national characters on the command line :-) ) - I was mainly wondering whether there is any case when the get_adapter_index() could fail on us... Going to "ifindex only" will actually make the route.c code in master less complex, as it has to deal with name-or-index today. gert --=20 USENET is *not* the non-clickable part of WWW! //www.muc.de/~ge= rt/ Gert Doering - Munich, Germany gert@...1296... fax: +49-89-35655025 gert@...1297... --DPGiAlqRWFF+9Gvq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQCVAwUBVij/46kuBuNlUUl1AQJOUgP9HdPK8x9cYwfT7hKB8v9EeSV2rNtzU6b5 1DvUHdJ6q8ITk2NmdjvSjCff2zd7C1sqcGuWTmidpTEs61MLUUZ7/u0UiHapQga/ MXIsZbRvr16cBXxeEHaqxSDZ8olVBaoB9OXIrFjJmbYI78ZRGK+2MVrQ1jDxTWGT WT5cg9TWiiQ= =74IR -----END PGP SIGNATURE----- --DPGiAlqRWFF+9Gvq--