aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/common.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-24 19:28:36 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-27 17:08:43 +0100
commit08146b1a84f975e2cc1007242b4202dc5cc0e5c5 (patch)
treead9f57cfbed4b9008223359d0f765a2b6a27a209 /pkg/csource/common.go
parent5d7477249ba074bbdc9ffbf80314397dbe90e886 (diff)
sys/linux: extend netfilter descriptions
Diffstat (limited to 'pkg/csource/common.go')
-rw-r--r--pkg/csource/common.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/csource/common.go b/pkg/csource/common.go
index f0b940881..1d1474c56 100644
--- a/pkg/csource/common.go
+++ b/pkg/csource/common.go
@@ -96,6 +96,9 @@ func defineList(p *prog.Prog, opts Options) ([]string, error) {
}
if opts.WaitRepeat {
defines = append(defines, "SYZ_WAIT_REPEAT")
+ // TODO(dvyukov): this should have a separate option,
+ // but for now it's bundled with WaitRepeat.
+ defines = append(defines, "SYZ_RESET_NET_NAMESPACE")
}
if opts.Debug {
defines = append(defines, "SYZ_DEBUG")