]> 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>
Thu, 29 Sep 2011 21:24:35 +0000 (01:24 +0400)
commitbc3443ebf032b5fcc9e0ccb94641e4e899cd17d8
tree06d6c8b912958c989ba59e45349e17a3f8d973ac
parent0a28130d35bbba47faf47bf9451ba0eb195fcbb7
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

Conflicts:

bgpd/bgp_attr.c
bgpd/bgp_attr.c
lib/prefix.h