Julian Elischer 436c7212e6 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-06-13 21:11:27 +00:00
1998-05-03 22:59:47 +00:00
1997-02-16 16:36:17 +00:00
1998-02-26 02:44:17 +00:00
1997-02-16 11:35:05 +00:00