diff options
author | Michal Murin <michal.murin@jamf.com> | 2022-02-09 11:57:58 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-02-09 12:01:56 +0100 |
commit | 72dc6778196dc867203c83f8f9b6396155dcda45 (patch) | |
tree | 3d594cd1e03e60f47b5c7fa521bbdf581ee02e12 | |
parent | 7002367e4faf4f794abbe329826f8a03bb85732a (diff) |
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 <michal.murin@jamf.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | tunnel/src/test/resources/invalid-value.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/src/test/resources/invalid-value.conf b/tunnel/src/test/resources/invalid-value.conf index 2889111e..6a1e3b62 100644 --- a/tunnel/src/test/resources/invalid-value.conf +++ b/tunnel/src/test/resources/invalid-value.conf @@ -1,6 +1,6 @@ [Interface] Address = 192.0.2.2/32,2001:db8:ffff:ffff:ffff:ffff:ffff:ffff/128 -DNS = 192.0.2.0,yes +DNS = 192.0.2.0,invalid_value PrivateKey = TFlmmEUC7V7VtiDYLKsbP5rySTKLIZq1yn8lMqK83wo= [Peer] AllowedIPs = 0.0.0.0/0, ::0/0 |