summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gobgp/rpki.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/gobgp/rpki.go b/cmd/gobgp/rpki.go
index de6f16a2..b506ccef 100644
--- a/cmd/gobgp/rpki.go
+++ b/cmd/gobgp/rpki.go
@@ -171,6 +171,11 @@ func newRPKICmd() *cobra.Command {
_, err = client.DisableRpki(ctx, &api.DisableRpkiRequest{
Address: addr.String(),
})
+ case "delete":
+ _, err = client.DeleteRpki(ctx, &api.DeleteRpkiRequest{
+ Address: addr.String(),
+ Port: 323,
+ })
default:
exitWithError(fmt.Errorf("unknown operation: %s", args[1]))
}