diff options
| author | Hiroki Shirokura <slank.dev@gmail.com> | 2020-02-03 23:25:26 +0000 |
|---|---|---|
| committer | Hiroki Shirokura <slank.dev@gmail.com> | 2020-02-14 00:13:43 +0000 |
| commit | 38774fc5e6b8da326bbe3700d7d54498aedb154a (patch) | |
| tree | bcaff2674f3c377ad7d66d85f205a4178d2f4634 /python/makefile.py | |
| parent | 893799b011b8667fd3ebfa4dd504de92eee53126 (diff) | |
bgpd: fix Prefix-SID parse error
Prefix-SID is desined to capable for TLV array.
That behaviour is important to support SR-MPLS feature
and that supported by previous PR #5418.
In that implementation, but if some additional data
(such as next BGP update message or next path attributes)
was present after Prefix-SID path attribute,
bgpd will parse that addional data as Prefix-SID TLV.
This commit fix that. before this commit, loop condition
is determed by stream is readable or not. In more correct
implementatoin, the prefix-sid boundaly should be checked
additonally. the length of Prefix-sid path attribute can
be get by bgp_attr_parse_args.
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'python/makefile.py')
0 files changed, 0 insertions, 0 deletions
