]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_packet.c
[ospfd] Raise ExchangeDone earlier, avoid often needless round of DD packets
authorPaul Jakma <paul.jakma@sun.com>
Sun, 27 Aug 2006 06:29:30 +0000 (06:29 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Sun, 27 Aug 2006 06:29:30 +0000 (06:29 +0000)
commit8dd24ee6d7302ccd9515123d4364122ade277e02
tree9945784ca770b2853a802895ac403a52f2505c4d
parentba122e779ddd1ef09e61ac2003ca20cf7ee8c611
[ospfd] Raise ExchangeDone earlier, avoid often needless round of DD packets

2006-08-03 Paul Jakma <paul.jakma@sun.com>

* ospf_packet.c: (ospf_make_db_desc) Unset the DD More bit
  after constructing the packet, if appropriate.
  (ospf_db_desc_proc) Speed up Exchange, slave should raise
  ExchangeDone earlier, as RFC mandates, by forming its reply
  before deciding whether both sides are done, avoids a
  needless round of empty DD packet exchanges at the end of
  Exchange, hence speeding up ExchangeDone.
  (ospf_db_desc) use UNSET_FLAG macro.
ospfd/ChangeLog
ospfd/ospf_packet.c