Add make sync-version to keep changelog and main.go Version the same. Update docs. Cut 1.1.2-1

This commit is contained in:
Pim van Pelt
2025-06-23 20:56:59 +02:00
parent 686bbe46b0
commit 0d19d50d62
4 changed files with 79 additions and 2 deletions

View File

@ -16,6 +16,8 @@ import (
"govpp-snmp-agentx/vpp"
)
const Version = "1.1.2-1"
func main() {
debug := flag.Bool("debug", false, "Enable debug logging")
vppcfg := flag.String("vppcfg", "", "VPP configuration YAML file to read interface descriptions from")
@ -24,6 +26,9 @@ func main() {
// Set global debug flag
config.Debug = *debug
// Log startup message with version
logger.Printf("Starting govpp-snmp-agentx version %s", Version)
// Create the interface MIB
interfaceMIB := ifmib.NewInterfaceMIB()