commit | 7ab62c5319bd86a3cfda32351bc4103cf9517f26 | [log] [tgz] |
---|---|---|
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | Thu May 17 15:00:41 2007 +0000 |
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | Thu May 17 15:00:41 2007 +0000 |
tree | 695c3a64d3b144c0d9cf81bbedc2ed20bef4f117 | |
parent | 2b5cb411cef38c28c0bfba2502f97770d55306b7 [diff] |
[PtP] Fix BSD problems with PtP interfaces: must treat RTA_BRD as peer address 2007-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * kernel_socket.c: (ifam_read_mesg) Grab RTA_DST and RTA_GATEWAY addresses from the message (if present, which seems unlikely on current BSD platforms), and show them in the debug messages. Also, add ifam_flags to the debug messages. (ifam_read) If the interface is point-to-point, then the RTA_BRD address should be treated as a peer address.