Skip to content

Commit

Permalink
Fix ipv6 flow parsing
Browse files Browse the repository at this point in the history
This should fix #11, aside from missing test cases.
  • Loading branch information
JustinAzoff committed Apr 11, 2018
1 parent 82e7915 commit 36fcb9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/nfdump.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type NFDUMPBackend struct {
}

func (b NFDUMPBackend) ExtractIps(reader io.Reader, ips *ipset.Set) (uint64, error) {
cmd := exec.Command("nfdump", "-qr", "-", "-o", "fmt:%sa %da")
cmd := exec.Command("nfdump", "-qr", "-", "-o", "fmt:%sa %da", "-6")
cmd.Stdin = reader
stdout, err := cmd.StdoutPipe()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

const (
VERSION = "0.1.9"
VERSION = "0.1.10"
)

var cmdVersion = &cobra.Command{
Expand Down

0 comments on commit 36fcb9f

Please sign in to comment.