diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-11-22 13:40:32 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-11-24 12:55:31 +0900 |
commit | 8fd741dea151f18f1a5fdb00e830489f459105c3 (patch) | |
tree | fad3c7c9f54b9017fe8cd0f74f6b667ebc95c707 /packet | |
parent | d2c16ca1b62c92951de936242163cb648f0c3025 (diff) |
cli: Return error when no RD for VPN FlowSpec
Currently, if Route Distinguisher is not specified for the VPN FlowSpec
types via "gobgp" command, the message as following will be displayed:
$ gobgp global rib -a l2vpn-flowspec add match vid 100 then accept
rpc error: code = Unknown desc = attribute type length is short
But this message does not describe which argument should be specified.
This patch fixes to output the message about lack of "rd <rd>".
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'packet')
0 files changed, 0 insertions, 0 deletions