Skip to content

Commit

Permalink
Merge pull request #13 from jschwinger233/pr/gray/default_interfaces
Browse files Browse the repository at this point in the history
Use __netif_receive_skb_core and __dev_queue_xmit as default -i
  • Loading branch information
jschwinger233 authored Jan 19, 2025
2 parents 48c80d2 + 1cb3b93 commit 592e2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var config Config
func init() {
var help bool
pflag.BoolVarP(&help, "help", "h", false, "")
pflag.StringSliceVarP(&config.Targets, "i", "i", []string{"ip_rcv", "dev_hard_start_xmit"}, "symbol|symbol+offset|address")
pflag.StringSliceVarP(&config.Targets, "i", "i", []string{"__netif_receive_skb_core", "__dev_queue_xmit"}, "symbol|symbol+offset|address")
pflag.StringVarP(&config.PcapFilename, "w", "w", "/tmp/a.pcap", "write packets to a file")
pflag.BoolVarP(&config.Verbose, "v", "v", false, "verbose output")
pflag.StringVarP(&config.DbgImagePath, "d", "d", "", "path to debug image")
Expand Down

0 comments on commit 592e2d3

Please sign in to comment.