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
..
1997-11-07 15:40:55 +00:00
1997-12-20 22:31:37 +00:00
1998-05-12 14:33:37 +00:00
1997-11-07 15:40:55 +00:00
1998-01-03 14:13:48 +00:00