commit | da26e3b6549e5e8a460b62ac02ed854685f6200d | [log] [tgz] |
---|---|---|
author | gdt <gdt> | Mon Jan 05 17:20:59 2004 +0000 |
committer | gdt <gdt> | Mon Jan 05 17:20:59 2004 +0000 |
tree | 4a76896e4c4c0ef25f50c1cf16520a26eaa38d10 | |
parent | ddf1c26ca3cfd31ed11a40909bdadc6b823f0697 [diff] |
2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com> * kernel_socket.c (kernel_read): Look up interfaces by index first, so that state changes which do not include a sockaddr_dl now work. Add many sanity checks. In particular, do not assume that a sockaddr_dl follows a message without checking the ifm_addrs flags, and do not trust the length in a sockaddr_dl. Add/clarify many comments.