]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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)
commitc6955f263d38a44f11134134aee052780fe2b3df
tree297de6aab50df971e07cd9157e9bfaa9087a466c
parentc1c836ab830be07b2fcc018ac3efc26397b78ce2
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/9@278324 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ipfw/nat.c