ru c93d494562 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
..
2000-04-11 06:55:09 +00:00
1999-12-22 19:13:38 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-12-22 19:13:38 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2000-01-28 06:13:09 +00:00
1999-12-22 19:13:38 +00:00
1999-12-22 19:13:38 +00:00
1999-12-22 19:13:38 +00:00
1999-12-22 19:13:38 +00:00
2000-01-09 19:17:30 +00:00
2000-01-09 19:17:30 +00:00
2000-01-09 19:17:30 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00