julian 33ee3bc8fe Hide the interface name in the sin_zero section of the sockaddr_in
passed to the user process for incoming packets. When the sockaddr_in
is passed back to the divert socket later, use thi sas the primary
interface lookup and only revert to the IP address when the name fails.
This solves a long standing bug with divert sockets:
When two interfaces had the same address (P2P for example) the interface
"assigned" to the reinjected packet was sometimes incorect.
Probably we should define a "sockaddr_div" to officially hold this
extended information in teh same manner as sockaddr_dl.
1998-05-25 08:44:31 +00:00
..
1998-02-06 12:14:30 +00:00
1998-01-08 23:42:31 +00:00
1998-03-27 18:03:13 +00:00
1998-04-06 11:40:42 +00:00
1997-11-16 05:55:52 +00:00
1998-02-26 08:31:53 +00:00
1998-03-21 10:11:54 +00:00
1998-05-07 04:58:58 +00:00
1998-01-08 23:42:31 +00:00