From e80746df209a14ac9ad9eb4d0448f70ea8e14af6 Mon Sep 17 00:00:00 2001 From: Douglas Szarmach Date: Tue, 14 Feb 2023 11:37:07 -0600 Subject: [PATCH] restore blank line --- collector/collector.go | 1 + 1 file changed, 1 insertion(+) diff --git a/collector/collector.go b/collector/collector.go index 04c6b5ad..1a7b6f13 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -125,6 +125,7 @@ func ScrapeTarget(ctx context.Context, target string, snmp_context string, confi snmp.Timeout = config.WalkParams.Timeout snmp.UseUnconnectedUDPSocket = config.WalkParams.UseUnconnectedUDPSocket snmp.LocalAddr = *srcAddress + // Allow a set of OIDs that aren't in a strictly increasing order if config.WalkParams.AllowNonIncreasingOIDs { snmp.AppOpts = make(map[string]interface{})