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>
This commit is contained in:
Michal Murin 2022-02-09 11:57:58 +01:00 committed by Jason A. Donenfeld
parent 7002367e4f
commit 72dc677819

View File

@ -1,6 +1,6 @@
[Interface] [Interface]
Address = 192.0.2.2/32,2001:db8:ffff:ffff:ffff:ffff:ffff:ffff/128 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= PrivateKey = TFlmmEUC7V7VtiDYLKsbP5rySTKLIZq1yn8lMqK83wo=
[Peer] [Peer]
AllowedIPs = 0.0.0.0/0, ::0/0 AllowedIPs = 0.0.0.0/0, ::0/0