Skip to content

Commit 885e4c3

Browse files
authored
Fix ReverseDNS struct comments about cache usage (#761)
Signed-off-by: Giuseppe Ognibene <[email protected]>
1 parent 653dc42 commit 885e4c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/internal/netolly/flow/reverse_dns.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ type ReverseDNS struct {
3838
// Type of ReverseDNS. Values are "none" (default), "local" and "ebpf"
3939
Type string `yaml:"type" env:"OTEL_EBPF_NETWORK_REVERSE_DNS_TYPE"`
4040

41-
// CacheLen only applies to the "local" ReverseDNS type. It
41+
// CacheLen only applies to the "local" and "ebpf" ReverseDNS type. It
4242
// specifies the max size of the LRU cache that is checked before
4343
// performing the name lookup. Default: 256
4444
CacheLen int `yaml:"cache_len" env:"OTEL_EBPF_NETWORK_REVERSE_DNS_CACHE_LEN"`
4545

46-
// CacheTTL only applies to the "local" ReverseDNS type. It
46+
// CacheTTL only applies to the "local" and "ebpf" ReverseDNS type. It
4747
// specifies the time-to-live of a cached IP->hostname entry. After the
4848
// cached entry becomes older than this time, the IP->hostname entry will be looked
4949
// up again.

0 commit comments

Comments
 (0)