diff options
author | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2017-05-09 16:09:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-05-12 09:47:48 +0900 |
commit | b327981534da9cfc311d702c55806747ec87cab2 (patch) | |
tree | 25687e4bd2eb005ddf1b1d706dd99027e6ae0c04 /README.rst | |
parent | 9a4e8968ed731daec0b3f9289af85bbfbf39a336 (diff) |
packet/bgp: Properly calculate length for FlowSpec
RFC 5575 says the 'len' field in numeric or bitmask operators
represents that the length of the value field is [1 << 'len'].
But, in serializing FlowSpec messages, the packet library uses
the `len` field as the length of the value field itself.
This patch fixes it to serialize FlowSpec messages properly.
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions