]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 277714:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Feb 2015 18:13:29 +0000 (18:13 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Feb 2015 18:13:29 +0000 (18:13 +0000)
commitd64af528f3ffc8c637cffcf7846e15d0b044ba09
treebde19fa7638ac8cc1e716c20fd5dc2e63871fbd0
parent948e07b9b3b25a5e65c92a27d87478cd49d3e4e8
MFC 277714:
natd(8) will work with an unconfigured interface and effectively not do
anything until the interface is assigned an address.  This fixes
ipfw_nat to do the same by using an IP of INADDR_ANY instead of
aborting the nat setup if the requested interface is not yet configured.

git-svn-id: svn://svn.freebsd.org/base/stable/10@278324 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ipfw/nat.c