]> git.puffer.fish Git - mirror/frr.git/commit
[PtP] Fix BSD problems with PtP interfaces: must treat RTA_BRD as peer address
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Thu, 17 May 2007 15:00:41 +0000 (15:00 +0000)
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Thu, 17 May 2007 15:00:41 +0000 (15:00 +0000)
commit7ab62c5319bd86a3cfda32351bc4103cf9517f26
tree695c3a64d3b144c0d9cf81bbedc2ed20bef4f117
parent2b5cb411cef38c28c0bfba2502f97770d55306b7
[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.
zebra/ChangeLog
zebra/kernel_socket.c