diff --git a/README.md b/README.md index 6d327d5..d7b1c94 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ func main() { config := nflog.Config{ Group: 100, Copymode: nflog.CopyPacket, - ReadTimeout: 10 * time.Millisecond, } nf, err := nflog.Open(&config) diff --git a/example_test.go b/example_test.go index 4d425c0..a7a3d44 100644 --- a/example_test.go +++ b/example_test.go @@ -16,9 +16,8 @@ func ExampleNflog_Register() { //Set configuration parameters config := nflog.Config{ - Group: 100, - Copymode: nflog.CopyPacket, - ReadTimeout: 10 * time.Millisecond, + Group: 100, + Copymode: nflog.CopyPacket, } nf, err := nflog.Open(&config) diff --git a/nflog_linux_integration_test.go b/nflog_linux_integration_test.go index 6e4a4bf..d6c6747 100644 --- a/nflog_linux_integration_test.go +++ b/nflog_linux_integration_test.go @@ -11,9 +11,8 @@ import ( func TestLinuxNflog(t *testing.T) { //Set configuration parameters config := Config{ - Group: 100, - Copymode: CopyPacket, - ReadTimeout: 10 * time.Millisecond, + Group: 100, + Copymode: CopyPacket, } // Open a socket to the netfilter log subsystem nf, err := Open(&config) @@ -45,9 +44,8 @@ func startNflog(ctx context.Context, t *testing.T, group uint16) (func(), error) t.Helper() config := Config{ - Group: group, - Copymode: CopyPacket, - ReadTimeout: 10 * time.Millisecond, + Group: group, + Copymode: CopyPacket, } nf, err := Open(&config)