]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: improve NEXT_HOP attribute checks (BZ#680)
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 22 Sep 2011 08:48:14 +0000 (12:48 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 25 Sep 2011 14:18:25 +0000 (18:18 +0400)
commit3eca6f099d5a3aac0b66dfbf98fd8be84ea426b7
tree40bf575b7d85ba8869f022a07e3313708a8093bf
parentc347846e4f917339fd7b4c122a343f93ef621c40
bgpd: improve NEXT_HOP attribute checks (BZ#680)

* lib/prefix.h
  * IPV4_CLASS_DE(): new helper macro
* bgp_attr.c
  * bgp_attr_nexthop(): add check for "partial" bit, refresh flag error
    reporting, explain meaning of RFC4271 section 6.3 and implement it
bgpd/bgp_attr.c
lib/prefix.h