]> git.puffer.fish Git - mirror/frr.git/commit
zebra: clear host bits of ND RA prefix option
authorDenis Ovsienko <infrastation@yandex.ru>
Sun, 8 Jan 2012 13:46:34 +0000 (17:46 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 26 Jan 2012 07:42:51 +0000 (11:42 +0400)
commit6bb1273e83c29b3aeff9584bc8f6272e773294ad
treea40cc3cb8853c2a3188ef8aabe47a3486dac30cb
parentd660f698427277ce695a5b756f3143c8304274ea
zebra: clear host bits of ND RA prefix option

RFC4861 4.6.2. Prefix Information

Prefix         An IP address or a prefix of an IP address.  The
               Prefix Length field contains the number of valid
               leading bits in the prefix.  The bits in the prefix
               after the prefix length are reserved and MUST be
               initialized to zero by the sender and ignored by
               the receiver.

* rtadv.c
  * ipv6_nd_prefix(): add missing call to apply_mask_ipv6()
  * no_ipv6_nd_prefix(): idem
zebra/rtadv.c