| 1 |
From: Daniel Swarbrick <[email protected]> |
| 2 |
Date: Tue, 19 Aug 2025 19:31:04 +0200 |
| 3 |
Subject: Set sane Debian defaults |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
--- |
| 7 |
main.go | 4 ++-- |
| 8 |
1 file changed, 2 insertions(+), 2 deletions(-) |
| 9 |
|
| 10 |
diff --git a/main.go b/main.go |
| 11 |
index 7c4a654..57c0a3b 100644 |
| 12 |
--- a/main.go |
| 13 |
+++ b/main.go |
| 14 |
@@ -18,7 +18,7 @@ var ( |
| 15 |
showVersion = flag.Bool("version", false, "Print version information.") |
| 16 |
listenAddress = flag.String("web.listen-address", ":9324", "Address on which to expose metrics and web interface.") |
| 17 |
metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.") |
| 18 |
|
| 19 |
+ birdSocket = flag.String("bird.socket", "/run/bird/bird.ctl", "Socket to communicate with bird routing daemon") |
| 20 |
birdV2 = flag.Bool("bird.v2", false, "Bird major version >= 2.0 (multi channel protocols)") |
| 21 |
tlsEnabled = flag.Bool("tls.enabled", false, "Enables TLS") |
| 22 |
tlsCertChainPath = flag.String("tls.cert-file", "", "Path to TLS cert file") |
| 23 |
@@ -33,7 +33,7 @@ var ( |
| 24 |
enableRPKI = flag.Bool("proto.rpki", true, "Enables metrics for protocol RPKI") |
| 25 |
enableBFD = flag.Bool("proto.bfd", true, "Enables metrics for protocol BFD") |
| 26 |
// pre bird 2.0 |
| 27 |
|
| 28 |
+ bird6Socket = flag.String("bird.socket6", "/run/bird/bird6.ctl", "Socket to communicate with bird6 routing daemon (not compatible with -bird.v2)") |
| 29 |
birdEnabled = flag.Bool("bird.ipv4", true, "Get protocols from bird (not compatible with -bird.v2)") |
| 30 |
bird6Enabled = flag.Bool("bird.ipv6", true, "Get protocols from bird6 (not compatible with -bird.v2)") |
| 31 |
descriptionLabels = flag.Bool("format.description-labels", false, "Add labels from protocol descriptions.") |