]> git.puffer.fish Git - mirror/frr.git/commit
Correct build TLV functions 839/head
authorOlivier Dugeon <olivier.dugeon@orange.com>
Mon, 31 Jul 2017 16:03:00 +0000 (18:03 +0200)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Mon, 31 Jul 2017 16:03:00 +0000 (18:03 +0200)
commit5d0df50febdd73cf29783efb60b6f4d2f36a3fc9
tree7ae554591cc6d727f248cded057594790728de7a
parenta6df2b80d7f7f7f9b7329c15555bdd6f4bb4812d
Correct build TLV functions

 * Functions that build TLVs in ospf_te.c and ospf_te.c use 'tlvh + 1'
to move the pointer to the TLV payload ifor strem_put().
 * Correct this by using TLV_DATA() macro which is saffer.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
ospfd/ospf_ri.c
ospfd/ospf_te.c