Skip to content

Commit 72dc677

Browse files
michal-murinzx2c4
authored andcommitted
tunnel: fix BadConfigExceptionTest
Fix the test by changing the DNS to a string with an invalid char in the `invalid-value.conf` test configuration file. Signed-off-by: Michal Murin <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 7002367 commit 72dc677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tunnel/src/test/resources/invalid-value.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Interface]
22
Address = 192.0.2.2/32,2001:db8:ffff:ffff:ffff:ffff:ffff:ffff/128
3-
DNS = 192.0.2.0,yes
3+
DNS = 192.0.2.0,invalid_value
44
PrivateKey = TFlmmEUC7V7VtiDYLKsbP5rySTKLIZq1yn8lMqK83wo=
55
[Peer]
66
AllowedIPs = 0.0.0.0/0, ::0/0

0 commit comments

Comments
 (0)