summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gobgp/cmd/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gobgp/cmd/policy.go b/cmd/gobgp/cmd/policy.go
index 7faa8648..6c50858f 100644
--- a/cmd/gobgp/cmd/policy.go
+++ b/cmd/gobgp/cmd/policy.go
@@ -610,7 +610,7 @@ func modStatement(op string, args []string) error {
case CMD_ADD:
err = client.AddStatement(stmt)
case CMD_DEL:
- err = client.DeleteStatement(stmt, false)
+ err = client.DeleteStatement(stmt, true)
default:
return fmt.Errorf("invalid operation: %s", op)
}