diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-02-22 14:26:36 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-02-22 15:19:13 +0900 |
commit | 77a3484a1223033065df7986987a7ad0b0043ab7 (patch) | |
tree | 5a63239ec9fa37d1d9ed139354c5a99852e25cf5 /table | |
parent | 89f40dfa4a015d000489a1ffa70824722e7eafed (diff) |
packet/bgp: Return specified type value for UnknownExtended
Currently, "UnknownExtended.GetTypes()" returns always the constant
values even if "Type" value is given.
This patch fixes to return the given type value and use the first
"Value" byte as the sub type.
Also, introduces "NewUnknownExtended()" function for the convenience.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'table')
0 files changed, 0 insertions, 0 deletions