| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 94985df commit 66ae9f4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ if (!common.hasIPv6) { | |||
| 15 | 15 | mock.method(dns, 'lookup', (hostname, options, callback) => { | |
| 16 | 16 | callback(new Error('Mocked error')); | |
| 17 | 17 | }); | |
| 18 | - const host = 'ipv6_link_local'; | ||
| 18 | + const host = 'ipv6-link-local'; | ||
| 19 | 19 | ||
| 20 | 20 | const server = net.createServer(); | |
| 21 | 21 | ||
@@ -30,13 +30,13 @@ if (!common.hasIPv6) { | |||
| 30 | 30 | // Test on IPv6 Server, server.listen throws an error | |
| 31 | 31 | { | |
| 32 | 32 | mock.method(dns, 'lookup', (hostname, options, callback) => { | |
| 33 | - if (hostname === 'ipv6_link_local') { | ||
| 33 | + if (hostname === 'ipv6-link-local') { | ||
| 34 | 34 | callback(null, [{ address: 'fe80::1', family: 6 }]); | |
| 35 | 35 | } else { | |
| 36 | 36 | dns.lookup.wrappedMethod(hostname, options, callback); | |
| 37 | 37 | } | |
| 38 | 38 | }); | |
| 39 | - const host = 'ipv6_link_local'; | ||
| 39 | + const host = 'ipv6-link-local'; | ||
| 40 | 40 | ||
| 41 | 41 | const server = net.createServer(); | |
| 42 | 42 | ||
@@ -52,7 +52,7 @@ if (!common.hasIPv6) { | |||
| 52 | 52 | { | |
| 53 | 53 | ||
| 54 | 54 | mock.method(dns, 'lookup', (hostname, options, callback) => { | |
| 55 | - if (hostname === 'ipv6_link_local_with_many_entries') { | ||
| 55 | + if (hostname === 'ipv6-link-local-with-many-entries') { | ||
| 56 | 56 | callback(null, [ | |
| 57 | 57 | { address: 'fe80::1', family: 6 }, | |
| 58 | 58 | { address: 'fe80::abcd:1234', family: 6 }, | |
@@ -84,7 +84,7 @@ if (!common.hasIPv6) { | |||
| 84 | 84 | } | |
| 85 | 85 | }); | |
| 86 | 86 | ||
| 87 | - const host = 'ipv6_link_local_with_many_entries'; | ||
| 87 | + const host = 'ipv6-link-local-with-many-entries'; | ||
| 88 | 88 | ||
| 89 | 89 | const server = net.createServer(); | |
| 90 | 90 | ||
@@ -103,11 +103,11 @@ if (!common.hasIPv6) { | |||
| 103 | 103 | // Test on IPv6 Server, picks ::1 because the other address is a link-local address | |
| 104 | 104 | { | |
| 105 | 105 | ||
| 106 | - const host = 'ipv6_link_local_with_double_entry'; | ||
| 106 | + const host = 'ipv6-link-local-with-double-entry'; | ||
| 107 | 107 | const validIpv6Address = '::1'; | |
| 108 | 108 | ||
| 109 | 109 | mock.method(dns, 'lookup', (hostname, options, callback) => { | |
| 110 | - if (hostname === 'ipv6_link_local_with_double_entry') { | ||
| 110 | + if (hostname === 'ipv6-link-local-with-double-entry') { | ||
| 111 | 111 | callback(null, [ | |
| 112 | 112 | { address: 'fe80::1', family: 6 }, | |
| 113 | 113 | { address: validIpv6Address, family: 6 }, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments