freebsd-skq/lib/libalias
Ruslan Ermilov f167e54283 Make partially specified permanent links without `dst_addr'
but with `dst_port' work for outgoing packets.

This case was not handled properly when I first fixed this
in revision 1.17.

This change is also required for the upcoming improved PPTP
support patches -- that is how I found the problem.

Before this change:

# natd -v -a aliasIP \
  -redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT

Out [TCP]  [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to
           [TCP] aliasIP:localPORT -> remoteIP:remotePORT

After this change:

# natd -v -a aliasIP \
  -redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT

Out [TCP]  [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to
           [TCP] publicIP:publicPORT -> remoteIP:remotePORT
2000-04-12 18:44:50 +00:00
..
alias_cuseeme.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
alias_db.c Make partially specified permanent links without `dst_addr' 2000-04-12 18:44:50 +00:00
alias_ftp.c - Add support for FTP EPRT (RFC 2428) command. 2000-04-06 15:54:52 +00:00
alias_irc.c Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias_local.h - Moved NULL definition into private include file. 2000-04-05 14:23:42 +00:00
alias_nbt.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
alias_proxy.c Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias_util.c Minor spelling fixes. 2000-04-05 07:45:39 +00:00
alias.c - Remove unused includes. 2000-04-05 14:27:34 +00:00
alias.h - Moved NULL definition into private include file. 2000-04-05 14:23:42 +00:00
HISTORY Minor spelling fixes. 2000-04-05 07:45:39 +00:00
libalias.3 Correct Charles Mott's email address 2000-04-02 20:16:45 +00:00
Makefile Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00