summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-22 17:50:33 -0200
committerRenato Westphal <renato@opensourcerouting.org>2019-01-22 18:10:07 -0200
commit2d2011708dcc6c01ea3a7b0885b7d1e2e6458872 (patch)
treefd277291201ba3a22c1ef70ba047caa07367ef5f /zebra/zebra_mpls.c
parentb9c25a2a906116dd4924045b7f663318e623b932 (diff)
ldpd: fix corner case in which we wouldn't respect the max pdu length
The calculation to know when an LDP PDU went past the maximum negotiated PDU length was wrong because it wasn't taking the "Version" and "PDU Length" fields into account (total of four bytes). Fix this. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_mpls.c')
0 files changed, 0 insertions, 0 deletions