Skip to content

Commit

Permalink
Revert the name change of some command line arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjeker committed Jan 16, 2024
1 parent 9eb93cb commit 179ec76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/stayrtr/stayrtr.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ var (

ExportPath = flag.String("export.path", "/rpki.json", "Export path")

RTRVersion = flag.Int("rtr.protocol", 2, "RTR protocol version. Version 2 is draft-ietf-sidrops-8210bis-10")
RTRVersion = flag.Int("protocol", 2, "RTR protocol version. Version 2 is draft-ietf-sidrops-8210bis-10")
RefreshRTR = flag.Int("rtr.refresh", 3600, "Refresh interval")
RetryRTR = flag.Int("rtr.retry", 600, "Retry interval")
ExpireRTR = flag.Int("rtr.expire", 7200, "Expire interval")
SendNotifs = flag.Bool("rtr.notifications", true, "Send notifications to clients (disable with -notifications=false)")
EnforceVersion = flag.Bool("rtr.enforce.version", false, "Disable version negotiation")
DisableBGPSec = flag.Bool("rtr.disable.bgpsec", false, "Disable sending out BGPSEC Router Keys")
DisableASPA = flag.Bool("rtr.disable.aspa", false, "Disable sending out ASPA objects")
SendNotifs = flag.Bool("notifications", true, "Send notifications to clients (disable with -notifications=false)")
EnforceVersion = flag.Bool("enforce.version", false, "Disable version negotiation")
DisableBGPSec = flag.Bool("disable.bgpsec", false, "Disable sending out BGPSEC Router Keys")
DisableASPA = flag.Bool("disable.aspa", false, "Disable sending out ASPA objects")


Bind = flag.String("bind", ":8282", "Bind address")
Expand Down

0 comments on commit 179ec76

Please sign in to comment.