]> git.ipfire.org Git - thirdparty/bird.git/commit
Babel: Parse sub-TLVs and skip TLVs with mandatory sub-TLV
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 9 Jun 2017 12:33:06 +0000 (14:33 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 9 Jun 2017 12:33:06 +0000 (14:33 +0200)
commit145ebfa1df9ad252af61cce01cc0f09db45f7c9d
tree0149873196db4dbae05d1a6f0ca84f78920eb7dc
parentb3c6273efaa15976cc1290f00d5abde4991e184e
Babel: Parse sub-TLVs and skip TLVs with mandatory sub-TLV

RFC6126bis formally introduces sub-TLVs to the Babel protocol, including
mandatory sub-TLVs. This adds support for parsing sub-TLVs to the Babel
protocol and skips TLVs that contain mandatory sub-TLVs, as per the spec.

For details, see section 4.4 of
https://tools.ietf.org/html/draft-ietf-babel-rfc6126bis-02

Thanks to Toke Høiland-Jørgensen <toke@toke.dk> for the patch.
proto/babel/babel.h
proto/babel/packets.c