Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2011 12:42:37 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        svn-src-head@freebsd.org, Maxim Sobolev <sobomax@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r220736 - head/sbin/natd
Message-ID:  <BANLkTimCdHqdn2672cXDWqECUnSc4hV38Q@mail.gmail.com>
In-Reply-To: <20110418181314.GL16958@FreeBSD.org>
References:  <201104170605.p3H65cab028890@svn.freebsd.org> <20110418181314.GL16958@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/4/18 Gleb Smirnoff <glebius@freebsd.org>:
> On Sun, Apr 17, 2011 at 06:05:38AM +0000, Maxim Sobolev wrote:
> M> Author: sobomax
> M> Date: Sun Apr 17 06:05:37 2011
> M> New Revision: 220736
> M> URL: http://svn.freebsd.org/changeset/base/220736
> M>
> M> Log:
> M> =A0 If we can retrieve interface address sleep for one second and try =
again.
> M> =A0 This can happen during start-up, when natd starts before dhclient =
has a
> M> =A0 chance to receive IP address from the upstream provider.
> M>
> M> =A0 MFC after: 2 weeks
>
> This looks like a hack and better place for this hack would be shell
> scripts rather than nat daemon.

    +1 -- in particular because this will affect all cases, and not
just the dhclient-acquired IP external NIC case as the above commit
message notes.
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimCdHqdn2672cXDWqECUnSc4hV38Q>