]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only wait for the IP to appear on the interface if natd is running in the
authorsobomax <sobomax@FreeBSD.org>
Mon, 18 Apr 2011 23:15:29 +0000 (23:15 +0000)
committersobomax <sobomax@FreeBSD.org>
Mon, 18 Apr 2011 23:15:29 +0000 (23:15 +0000)
commitb756d7087c8a42a80362b062911daa668f5f42fa
tree569432e89cf1e96802d7ae3989e02bbb042a59a9
parentf5b28424de5145cf84073390684865dc604cef24
Only wait for the IP to appear on the interface if natd is running in the
background.

Suggested by:   Garrett Cooper <yanegomi@gmail.com>

Use EAGAIN instead of magic value of -2 to report this condition from the
SetAliasAddressFromIfName routine.

MFC after: 2 weeks
sbin/natd/natd.c