diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-11-09 10:47:56 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-11-13 11:20:07 +0900 |
commit | e984c6902d1a494d2354caf622891258c1f85c17 (patch) | |
tree | ff566a864ff0d2de245ab502bd6d3625b132a4db /.pep8 | |
parent | ab8ba077e5882220c652e255507f8450ca61d664 (diff) |
api/grpc_server: Avoid index error when invalid set-med value
Currently, with a invalid "set-med" value in a policy action, GoBGP will
raise panic of "index out of range" because the unmatched regular
expression is not handled.
This patch fixes to handle errors during parsing the given med value.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to '.pep8')
0 files changed, 0 insertions, 0 deletions