Make the default ``nat target'' address INADDR_NONE, meaning
authorbrian <brian@openbsd.org>
Sun, 2 Apr 2000 01:36:20 +0000 (01:36 +0000)
committerbrian <brian@openbsd.org>
Sun, 2 Apr 2000 01:36:20 +0000 (01:36 +0000)
commit4c11e1ad1235206e5f5e638e48456ca0d4901466
treecbbea84482b92e60bb0d9f0de3093881fa851008
parent84d6abd0f8eb0fd3d9ca973aaf2357339c483f80
Make the default ``nat target'' address INADDR_NONE, meaning
incoming connections go to the NAT address.  Make a ``nat target''
address of INADDR_ANY allow connections from outside directly into
the internal network.

Change some s_addr == 0 to s_addr == INADDR_ANY
usr.sbin/ppp/ppp/alias_db.c
usr.sbin/ppp/ppp/nat_cmd.c