Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH] conf: fix typo in parser_test
@ 2024-02-08 21:03 Daniel Kessler
  0 siblings, 0 replies; only message in thread
From: Daniel Kessler @ 2024-02-08 21:03 UTC (permalink / raw)
  To: wireguard; +Cc: Daniel Kessler

---
 conf/parser_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/parser_test.go b/conf/parser_test.go
index 25d906fd..36985c5f 100644
--- a/conf/parser_test.go
+++ b/conf/parser_test.go
@@ -80,7 +80,7 @@ func TestFromWgQuick(t *testing.T) {
 	conf, err := FromWgQuick(testInput, "test")
 	if noError(t, err) {
 		lenTest(t, conf.Interface.Addresses, 2)
-		contains(t, conf.Interface.Addresses, netip.PrefixFrom(netip.AddrFrom4([4]byte{0, 10, 0, 1}), 16))
+		contains(t, conf.Interface.Addresses, netip.PrefixFrom(netip.AddrFrom4([4]byte{10, 10, 0, 1}), 16))
 		contains(t, conf.Interface.Addresses, netip.PrefixFrom(netip.AddrFrom4([4]byte{10, 192, 122, 1}), 24))
 		equal(t, "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=", conf.Interface.PrivateKey.String())
 		equal(t, uint16(51820), conf.Interface.ListenPort)
-- 
2.43.0.687.g38aa6559b0-goog


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-08 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-08 21:03 [PATCH] conf: fix typo in parser_test Daniel Kessler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).