1
0
mirror of https://github.com/bgp/stayrtr.git synced 2024-05-06 15:54:54 +00:00

Set default StayRTR version to 2

Addresses: https://github.com/bgp/stayrtr/pull/88#issuecomment-1440565663
This commit is contained in:
Ben Cartwright-Cox
2023-02-23 12:16:26 +00:00
parent e98648f8b2
commit f40e9ccf4e

View File

@ -38,7 +38,7 @@ var (
Serial = flag.Int("serial.value", 0, "Serial number")
Session = flag.Int("session.id", 0, "Session ID")
FlagVersion = flag.Int("rtr.version", 1, "What RTR version you want to use, Version 2 is draft-ietf-sidrops-8210bis-10")
FlagVersion = flag.Int("rtr.version", 2, "What RTR version you want to use, Version 2 is draft-ietf-sidrops-8210bis-10")
ConnType = flag.String("type", "plain", "Type of connection: plain, tls or ssh")
ValidateCert = flag.Bool("tls.validate", true, "Validate TLS")