Skip to content

Commit 5047309

Browse files
committed
bump elastic/gopacket
1 parent e0dda74 commit 5047309

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

NOTICE.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17141,12 +17141,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1714117141

1714217142

1714317143
--------------------------------------------------------------------------------
17144-
Dependency : github.com/samuelvl/gopacket
17145-
Version: v0.0.0-20260703114848-a5059dceefc3
17144+
Dependency : github.com/elastic/gopacket
17145+
Version: v1.1.20-0.20260708143104-cfe2cc0f0cc7
1714617146
Licence type (autodetected): BSD-3-Clause
1714717147
--------------------------------------------------------------------------------
1714817148

17149-
Contents of probable licence file $GOMODCACHE/github.com/samuelvl/gopacket@v0.0.0-20260703114848-a5059dceefc3/LICENSE:
17149+
Contents of probable licence file $GOMODCACHE/github.com/elastic/gopacket@v1.1.20-0.20260708143104-cfe2cc0f0cc7/LICENSE:
1715017150

1715117151
Copyright (c) 2012 Google, Inc. All rights reserved.
1715217152
Copyright (c) 2009-2011 Andreas Krennmair. All rights reserved.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,6 @@ replace (
572572
github.com/dop251/goja => github.com/elastic/goja v0.0.0-20190128172624-dd2ac4456e20
573573
github.com/fsnotify/fsevents => github.com/elastic/fsevents v0.0.0-20181029231046-e1d381a4d270
574574
github.com/fsnotify/fsnotify => github.com/elastic/fsnotify v1.6.1-0.20240920222514-49f82bdbc9e3
575-
github.com/google/gopacket => github.com/samuelvl/gopacket v0.0.0-20260703114848-a5059dceefc3
575+
github.com/google/gopacket => github.com/elastic/gopacket v1.1.20-0.20260708143104-cfe2cc0f0cc7
576576
github.com/meraki/dashboard-api-go/v3 => github.com/tommyers-elastic/dashboard-api-go/v3 v3.0.0-20250616163611-a325b49669a4
577577
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ github.com/elastic/goja v0.0.0-20190128172624-dd2ac4456e20 h1:bVZ3kDKa8Tqw9qvNrD
429429
github.com/elastic/goja v0.0.0-20190128172624-dd2ac4456e20/go.mod h1:A1DWjF89MFVnxzmzTaMF7CwVy9PDem7DalMkm8RIMoY=
430430
github.com/elastic/gokrb5/v8 v8.0.0-20251105095404-23cc45e6a102 h1:HBjzmhV2CkYn0qBDv9DN4/irmJ94xppH3kVL9VgBA8k=
431431
github.com/elastic/gokrb5/v8 v8.0.0-20251105095404-23cc45e6a102/go.mod h1:xoTq5saXNyokdlvOhMz+JQGU+RTzTtYzqo1Bc86q3Fs=
432+
github.com/elastic/gopacket v1.1.20-0.20260708143104-cfe2cc0f0cc7 h1:LTx9zlFG3yxjLuxjf/D3NsS06ivZw7L/3TWqjkFe1Ak=
433+
github.com/elastic/gopacket v1.1.20-0.20260708143104-cfe2cc0f0cc7/go.mod h1:riddUzxTSBpJXk3qBHtYr4qOhFhT6k/1c0E3qkQjQpA=
432434
github.com/elastic/gosigar v0.14.4 h1:7NRnWJDFjEKpOjnHhtzrPGZWr9EMrYFsLjF4q0Czosk=
433435
github.com/elastic/gosigar v0.14.4/go.mod h1:tx91Eb3YgFk6y++h88fRAnxic3Si1ZDHooqnJU/hqo8=
434436
github.com/elastic/mito v1.27.0 h1:FM01Ql1OMx6uL3ogW0LoI8Ruc0O6gzmwLNBV8Zk13Yw=
@@ -985,8 +987,6 @@ github.com/samuel/go-parser v0.0.0-20130731160455-ca8abbf65d0e h1:hUGyBE/4CXRPTh
985987
github.com/samuel/go-parser v0.0.0-20130731160455-ca8abbf65d0e/go.mod h1:Sb6li54lXV0yYEjI4wX8cucdQ9gqUJV3+Ngg3l9g30I=
986988
github.com/samuel/go-thrift v0.0.0-20140522043831-2187045faa54 h1:jbchLJWyhKcmOjkbC4zDvT/n5EEd7g6hnnF760rEyRA=
987989
github.com/samuel/go-thrift v0.0.0-20140522043831-2187045faa54/go.mod h1:Vrkh1pnjV9Bl8c3P9zH0/D4NlOHWP5d4/hF4YTULaec=
988-
github.com/samuelvl/gopacket v0.0.0-20260703114848-a5059dceefc3 h1:2LllNEu3iUcJV/4ajNlbpnLxBRpcTza4GcSrfDMYVxw=
989-
github.com/samuelvl/gopacket v0.0.0-20260703114848-a5059dceefc3/go.mod h1:riddUzxTSBpJXk3qBHtYr4qOhFhT6k/1c0E3qkQjQpA=
990990
github.com/sebdah/goldie v1.0.0 h1:9GNhIat69MSlz/ndaBg48vl9dF5fI+NBB6kfOxgfkMc=
991991
github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4=
992992
github.com/segmentio/fasthash v1.0.3 h1:EI9+KE1EwvMLBWwjpRDc+fEM+prwxDYbslddQGtrmhM=

packetbeat/beater/install_npcap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ func installNpcap(b *beat.Beat, cfg *conf.C) error {
6161
return nil
6262
}
6363

64+
log := b.Info.Logger.Named("npcap_install")
6465
// Only check whether we have been requested to never_install if there
6566
// is already an Npcap installation present. This should not be necessary,
6667
// but the start-up logic of packetbeat is tightly coupled to the presence
6768
// of a backing sniffer. This should really not be necessary, but the changes
6869
// to modify this behaviour are non-trivial, so just avoid the issue.
69-
log := b.Info.Logger.Named("npcap_install")
7070
isInstalled := strings.HasPrefix(npcap.Version(), "Npcap version")
7171
if isInstalled {
7272
canInstall, err := canInstallNpcap(b, cfg, log)

0 commit comments

Comments
 (0)