diff --git a/backend/nfdump.go b/backend/nfdump.go index ca27db0..cf625a2 100644 --- a/backend/nfdump.go +++ b/backend/nfdump.go @@ -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 { diff --git a/cmd/version.go b/cmd/version.go index a9e8869..a1ce330 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -7,7 +7,7 @@ import ( ) const ( - VERSION = "0.1.9" + VERSION = "0.1.10" ) var cmdVersion = &cobra.Command{