svn commit: r220736 - head/sbin/natd

Garrett Cooper yanegomi at gmail.com
Mon Apr 18 19:42:38 UTC 2011


2011/4/18 Gleb Smirnoff <glebius at 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>   If we can retrieve interface address sleep for one second and try again.
> M>   This can happen during start-up, when natd starts before dhclient has a
> M>   chance to receive IP address from the upstream provider.
> M>
> M>   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


More information about the svn-src-head mailing list