summaryrefslogtreecommitdiffstats
path: root/test/fuzz
diff options
context:
space:
mode:
authorDavid Anderson <dave@natulte.net>2018-11-07 06:33:15 +0100
committerDavid Anderson <dave@natulte.net>2018-11-10 02:56:33 +0100
commit6e42bd5504034d0a0572a5e910230d5389c1b6d4 (patch)
treee0822b0d37b4dca599069b446846cecdbbff1a64 /test/fuzz
parentnetworkd: support 6rd tunnel netdev setup. (diff)
downloadsystemd-6e42bd5504034d0a0572a5e910230d5389c1b6d4.tar.xz
systemd-6e42bd5504034d0a0572a5e910230d5389c1b6d4.zip
Add 6rd directive to the netdev fuzzing corpus.
Diffstat (limited to 'test/fuzz')
-rw-r--r--test/fuzz/fuzz-netdev-parser/25-6rd-tunnel.netdev8
-rw-r--r--test/fuzz/fuzz-netdev-parser/directives.netdev1
2 files changed, 9 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-netdev-parser/25-6rd-tunnel.netdev b/test/fuzz/fuzz-netdev-parser/25-6rd-tunnel.netdev
new file mode 100644
index 0000000000..252abf5278
--- /dev/null
+++ b/test/fuzz/fuzz-netdev-parser/25-6rd-tunnel.netdev
@@ -0,0 +1,8 @@
+[NetDev]
+Name=6rdtun99
+Kind=sit
+
+[Tunnel]
+Local=10.65.223.238
+Remote=10.65.223.239
+IPv6RapidDeploymentPrefix=2602::/24
diff --git a/test/fuzz/fuzz-netdev-parser/directives.netdev b/test/fuzz/fuzz-netdev-parser/directives.netdev
index 4725d2dad4..88d2788191 100644
--- a/test/fuzz/fuzz-netdev-parser/directives.netdev
+++ b/test/fuzz/fuzz-netdev-parser/directives.netdev
@@ -73,6 +73,7 @@ CopyDSCP=
EncapsulationLimit=
TTL=
FOUSourcePort=
+IPv6RapidDeploymentPrefix=
[VXLAN]
UDP6ZeroChecksumRx=
ARPProxy=