diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-20 01:54:29 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-20 03:42:02 +0000 |
commit | 4e07254d0a0d52099d1cc12b4a3fcd6cb97132bd (patch) | |
tree | 3e6b9be63122e6737cd6aaf2fc0c7530229ce5b2 | |
parent | b6e82b52477236bc02315192785fb9a84fecd865 (diff) |
cli: fix wrong modStatement operation
use DEL_ALL to delete statement
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r-- | gobgp/cmd/policy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgp/cmd/policy.go b/gobgp/cmd/policy.go index 665d3e4a..2eba8951 100644 --- a/gobgp/cmd/policy.go +++ b/gobgp/cmd/policy.go @@ -579,7 +579,7 @@ func modStatement(op string, args []string) error { case CMD_ADD: o = api.Operation_ADD case CMD_DEL: - o = api.Operation_DEL + o = api.Operation_DEL_ALL default: return fmt.Errorf("invalid operation: %s", op) } |