fix(network): выбрать IPv6-команду в экспорте GRE

This commit is contained in:
Denozordec committed 2026-10-13 22:01:46 +07:00
1 parent 1be4a490b5
commit 0c5d7d3207
15 files changed
+204 -10

No files matched your search

+4
View File
@@ -28,3 +28,7 @@ console.log('gre-export: hidden configured PSK produces an explicitly labelled t
const incompatible = generateGreRsc({ ...tunnel, allowFastPath: true }, {})
assert.ok(incompatible.includes("allow-fast-path=<ALLOW_FAST_PATH>"))
assert.ok(incompatible.includes("IPsec несовместим с FastPath"))
const ipv6 = generateGreRsc({ ...tunnel, ipsec: null, localInnerIp: "fd00:213::1/64" }, {})
assert.ok(ipv6.includes('/ipv6/address/add address="fd00:213::1/64" interface=' + quoteRosString(tunnel.name) + " advertise=no"))
assert.ok(!ipv6.includes("/ip/address/add"))
assert.ok(ipv6.includes("pool/EUI-64 и остальные адреса не включены"))