From 7c4b955b5613e651e665ea70cd54d3259fbdb966 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 20 Sep 2025 20:31:56 +0100 Subject: [PATCH] Fix lint failures and errors from lint failure fixes --- src/routes/reference/cidr/+page.svelte | 2 +- src/routes/reference/icmp/+page.svelte | 22 +++++----- .../reference/ipv6-address-types/+page.svelte | 10 ++--- .../reference/ipv6-embedded-ipv4/+page.svelte | 12 +++--- .../ipv6-prefix-lengths/+page.svelte | 14 +++---- src/routes/reference/multicast/+page.svelte | 28 ++++++------- .../private-vs-public-ip/+page.svelte | 34 ++++++++-------- .../reference/reserved-ranges/+page.svelte | 2 +- src/routes/reference/reverse-dns/+page.svelte | 24 +++++------ .../reference/reverse-zones/+page.svelte | 40 +++++++++---------- .../reference/special-use-ipv4/+page.svelte | 12 +++--- .../reference/supernetting/+page.svelte | 14 +++---- src/routes/reference/vlsm/+page.svelte | 10 ++--- .../reference/wildcard-masks/+page.svelte | 20 +++++----- 14 files changed, 122 insertions(+), 122 deletions(-) diff --git a/src/routes/reference/cidr/+page.svelte b/src/routes/reference/cidr/+page.svelte index ef0296e..b0a8612 100644 --- a/src/routes/reference/cidr/+page.svelte +++ b/src/routes/reference/cidr/+page.svelte @@ -79,7 +79,7 @@

Key Points to Remember

diff --git a/src/routes/reference/icmp/+page.svelte b/src/routes/reference/icmp/+page.svelte index 8566db4..d1bec66 100644 --- a/src/routes/reference/icmp/+page.svelte +++ b/src/routes/reference/icmp/+page.svelte @@ -29,7 +29,7 @@ {#if type.codes}
Common Codes:
@@ -41,7 +41,7 @@

Common ICMPv6 Types

- {#each icmpContent.icmpv6Types as type} + {#each icmpContent.icmpv6Types as type, index (`${type.type}-${index}`)}
Type {type.type}: {type.name}
@@ -52,7 +52,7 @@ {#if type.codes}
Common Codes:
    - {#each type.codes as code, index (`code-${code.code}-${index}`) + {#each type.codes as code, index (`code-${code.code}-${index}`)}
  • Code {code.code}: {code.meaning}
  • {/each}
@@ -64,7 +64,7 @@

Practical Troubleshooting Scenarios

- {#each icmpContent.practicalExamples as scenario} + {#each icmpContent.practicalExamples as scenario, index (`${scenario.scenario}-${index}`)}
@@ -74,7 +74,7 @@

ICMP Types Involved: {scenario.icmpTypes.join(', ')}

What to Check:

    - {#each scenario.whatToCheck as check} + {#each scenario.whatToCheck as check, index (`check-${index}`)}
  • {check}
  • {/each}
@@ -86,7 +86,7 @@

Common ICMP Filtering Issues

- {#each icmpContent.filteringIssues as issue} + {#each icmpContent.filteringIssues as issue, index (`${issue.issue}-${index}`)}
{issue.issue}
@@ -109,7 +109,7 @@ - {#each icmpContent.troubleshootingCommands as cmd} + {#each icmpContent.troubleshootingCommands as cmd, index (`${cmd.purpose}-${index}`)} {cmd.command} {cmd.purpose} @@ -123,7 +123,7 @@

Best Practices for ICMP

    - {#each icmpContent.bestPractices as practice} + {#each icmpContent.bestPractices as practice, index (`practice-${index}`)}
  • {practice}
  • {/each}
@@ -135,14 +135,14 @@
Always Allow These
- {#each icmpContent.quickReference.mustAllow as type} + {#each icmpContent.quickReference.mustAllow as type, index (`must-${index}`)}
{type}
{/each}
Never Filter These
- {#each icmpContent.quickReference.neverFilter as type} + {#each icmpContent.quickReference.neverFilter as type, index (`never-${index}`)}
{type}
{/each}
Critical for proper network operation
@@ -154,7 +154,7 @@

Common Mistakes to Avoid

Don't Do These
- {#each icmpContent.commonMistakes as mistake} + {#each icmpContent.commonMistakes as mistake, index (`mistake-${index}`)}
{mistake}
diff --git a/src/routes/reference/ipv6-address-types/+page.svelte b/src/routes/reference/ipv6-address-types/+page.svelte index e389268..cf2f0bd 100644 --- a/src/routes/reference/ipv6-address-types/+page.svelte +++ b/src/routes/reference/ipv6-address-types/+page.svelte @@ -60,7 +60,7 @@

Multicast Address Scopes

All multicast addresses start with ff. The second byte indicates scope:

- {#each ipv6AddressTypesContent.multicastTypes as scope} + {#each ipv6AddressTypesContent.multicastTypes as scope, index (`${scope.scope}-${index}`)}
{scope.scope} Scope
@@ -68,7 +68,7 @@
Description: {scope.description}
{#if scope.examples.length > 0}
Common Addresses:
- {#each scope.examples as example} + {#each scope.examples as example, index (`example-${index}`)}
{example}
{/each} {/if} @@ -93,7 +93,7 @@

Common Anycast Uses

    - {#each ipv6AddressTypesContent.anycast.commonUses as use} + {#each ipv6AddressTypesContent.anycast.commonUses as use, index (`use-${index}`)}
  • {use}
  • {/each}
@@ -109,7 +109,7 @@ - {#each ipv6AddressTypesContent.reservedRanges as range} + {#each ipv6AddressTypesContent.reservedRanges as range, index (`${range.range}-${index}`)} {range.prefix} {range.purpose} @@ -123,7 +123,7 @@

Quick Recognition Tips

Remember These Patterns
- {#each ipv6AddressTypesContent.quickTips as tip} + {#each ipv6AddressTypesContent.quickTips as tip, index (`tip-${index}`)}
{tip}
diff --git a/src/routes/reference/ipv6-embedded-ipv4/+page.svelte b/src/routes/reference/ipv6-embedded-ipv4/+page.svelte index 7a2ed31..1a2701f 100644 --- a/src/routes/reference/ipv6-embedded-ipv4/+page.svelte +++ b/src/routes/reference/ipv6-embedded-ipv4/+page.svelte @@ -40,7 +40,7 @@ {/each}
Usage:
    - {#each mechanism.usage as use} + {#each mechanism.usage as use, index (`use-${index}`)}
  • {use}
  • {/each}
@@ -61,7 +61,7 @@ - {#each ipv6EmbeddedIPv4Content.recognition.patterns as pattern} + {#each ipv6EmbeddedIPv4Content.recognition.patterns as pattern, index (`${pattern.type}-${index}`)} {pattern.pattern} {pattern.meaning} @@ -85,7 +85,7 @@ - {#each ipv6EmbeddedIPv4Content.conversion.examples as example} + {#each ipv6EmbeddedIPv4Content.conversion.examples as example, index (`${example.ipv4}-${index}`)} {example.ipv4} {example.hex} @@ -109,7 +109,7 @@

Modern Usage Guidelines

    - {#each ipv6EmbeddedIPv4Content.modernUsage as guideline} + {#each ipv6EmbeddedIPv4Content.modernUsage as guideline, index (`guideline-${index}`)}
  • {guideline}
  • {/each}
@@ -117,7 +117,7 @@

Common Troubleshooting Issues

- {#each ipv6EmbeddedIPv4Content.troubleshooting as issue} + {#each ipv6EmbeddedIPv4Content.troubleshooting as issue, index (`${issue.issue}-${index}`)}
@@ -135,7 +135,7 @@

Security Considerations

Important Security Notes
- {#each ipv6EmbeddedIPv4Content.securityNotes as note} + {#each ipv6EmbeddedIPv4Content.securityNotes as note, index (`note-${index}`)}
{note}
diff --git a/src/routes/reference/ipv6-prefix-lengths/+page.svelte b/src/routes/reference/ipv6-prefix-lengths/+page.svelte index b23da13..6f563d9 100644 --- a/src/routes/reference/ipv6-prefix-lengths/+page.svelte +++ b/src/routes/reference/ipv6-prefix-lengths/+page.svelte @@ -40,7 +40,7 @@
{ipv6PrefixLengthsContent.usageGuidelines.residential.title}
- {#each ipv6PrefixLengthsContent.usageGuidelines.residential.allocations as alloc} + {#each ipv6PrefixLengthsContent.usageGuidelines.residential.allocations as alloc, index (`residential-${index}`)}
{alloc.size}
{alloc.description}
{/each} @@ -48,7 +48,7 @@
{ipv6PrefixLengthsContent.usageGuidelines.enterprise.title}
- {#each ipv6PrefixLengthsContent.usageGuidelines.enterprise.allocations as alloc} + {#each ipv6PrefixLengthsContent.usageGuidelines.enterprise.allocations as alloc, index (`enterprise-${index}`)}
{alloc.size}
{alloc.description}
{/each} @@ -56,7 +56,7 @@
{ipv6PrefixLengthsContent.usageGuidelines.subnets.title}
- {#each ipv6PrefixLengthsContent.usageGuidelines.subnets.allocations as alloc} + {#each ipv6PrefixLengthsContent.usageGuidelines.subnets.allocations as alloc, index (`subnets-${index}`)}
{alloc.size}
{alloc.description}
{/each} @@ -75,7 +75,7 @@ - {#each ipv6PrefixLengthsContent.comparison.mappings as mapping} + {#each ipv6PrefixLengthsContent.comparison.mappings as mapping, index (`${mapping.prefix}-${index}`)} {mapping.ipv4} {mapping.ipv6} @@ -97,7 +97,7 @@ - {#each ipv6PrefixLengthsContent.quickReference as row} + {#each ipv6PrefixLengthsContent.quickReference as row, index (`${row.prefix}-${index}`)} {row.prefix} {row.subnets} @@ -111,7 +111,7 @@

Best Practices

    - {#each ipv6PrefixLengthsContent.bestPractices as practice} + {#each ipv6PrefixLengthsContent.bestPractices as practice, index (`practice-${index}`)}
  • {practice}
  • {/each}
@@ -132,7 +132,7 @@

Planning Tips

Remember These
- {#each ipv6PrefixLengthsContent.tips as tip} + {#each ipv6PrefixLengthsContent.tips as tip, index (`tip-${index}`)}
{tip}
diff --git a/src/routes/reference/multicast/+page.svelte b/src/routes/reference/multicast/+page.svelte index 49524fc..dbb1140 100644 --- a/src/routes/reference/multicast/+page.svelte +++ b/src/routes/reference/multicast/+page.svelte @@ -20,7 +20,7 @@

{multicastContent.ipv4Multicast.title}

Range: {multicastContent.ipv4Multicast.range}

- {#each multicastContent.ipv4Multicast.classes as multicastClass} + {#each multicastContent.ipv4Multicast.classes as multicastClass, index (`${multicastClass.name}-${index}`)}
{multicastClass.name}
@@ -28,7 +28,7 @@
Description: {multicastClass.description}
Scope: {multicastClass.scope}
Examples:
- {#each multicastClass.examples as example} + {#each multicastClass.examples as example, index (`example-${index}`)}
{example}
{/each}
@@ -46,14 +46,14 @@
Flag Bits
- {#each multicastContent.ipv6Multicast.structure.flags as flag} + {#each multicastContent.ipv6Multicast.structure.flags as flag, index (`flag-${index}`)}
{flag.bit} - {flag.meaning}
{/each}
Scope Values
- {#each multicastContent.ipv6Multicast.structure.scopes as scope} + {#each multicastContent.ipv6Multicast.structure.scopes as scope, index (`scope-${index}`)}
{scope.code} - {scope.name}
{/each}
@@ -69,7 +69,7 @@ - {#each multicastContent.ipv6Multicast.wellKnown as addr} + {#each multicastContent.ipv6Multicast.wellKnown as addr, index (`${addr.address}-${index}`)} {addr.address} {addr.name} @@ -92,7 +92,7 @@ - {#each multicastContent.commonProtocols as protocol} + {#each multicastContent.commonProtocols as protocol, index (`${protocol.protocol}-${index}`)} {protocol.protocol} {protocol.ipv4} @@ -106,7 +106,7 @@

Important Limitations

- {#each multicastContent.limitations as limitation} + {#each multicastContent.limitations as limitation, index (`${limitation.issue}-${index}`)}
@@ -115,7 +115,7 @@

{limitation.description}

    - {#each limitation.details as detail} + {#each limitation.details as detail, index (`detail-${index}`)}
  • {detail}
  • {/each}
@@ -126,19 +126,19 @@

Troubleshooting Common Issues

- {#each multicastContent.troubleshooting as issue} + {#each multicastContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
{issue.issue}
Common Causes:
    - {#each issue.causes as cause} + {#each issue.causes as cause, index (`cause-${index}`)}
  • {cause}
  • {/each}
Solutions:
    - {#each issue.solutions as solution} + {#each issue.solutions as solution, index (`solution-${index}`)}
  • {solution}
  • {/each}
@@ -150,7 +150,7 @@

Best Practices

    - {#each multicastContent.bestPractices as practice} + {#each multicastContent.bestPractices as practice, index (`practice-${index}`)}
  • {practice}
  • {/each}
@@ -161,14 +161,14 @@
IPv4 Quick List
- {#each multicastContent.quickReference.ipv4 as addr} + {#each multicastContent.quickReference.ipv4 as addr, index (`ipv4-${index}`)}
{addr}
{/each}
IPv6 Quick List
- {#each multicastContent.quickReference.ipv6 as addr} + {#each multicastContent.quickReference.ipv6 as addr, index (`ipv6-${index}`)}
{addr}
{/each}
diff --git a/src/routes/reference/private-vs-public-ip/+page.svelte b/src/routes/reference/private-vs-public-ip/+page.svelte index c384d67..71479b3 100644 --- a/src/routes/reference/private-vs-public-ip/+page.svelte +++ b/src/routes/reference/private-vs-public-ip/+page.svelte @@ -18,7 +18,7 @@

Private IP Address Ranges (RFC 1918)

- {#each privateVsPublicContent.privateRanges as range} + {#each privateVsPublicContent.privateRanges as range, index (`${range.name}-${index}`)}
{range.range} - {range.class}
@@ -26,7 +26,7 @@
Total Addresses: {range.addresses}
Common Use: {range.commonUse}
Examples:
- {#each range.examples as example} + {#each range.examples as example, index (`example-${index}`)} {example} {/each}
@@ -40,7 +40,7 @@

Characteristics

    - {#each privateVsPublicContent.publicRanges.characteristics as characteristic} + {#each privateVsPublicContent.publicRanges.characteristics as characteristic, index (`char-${index}`)}
  • {characteristic}
  • {/each}
@@ -54,7 +54,7 @@ - {#each privateVsPublicContent.publicRanges.examples as example} + {#each privateVsPublicContent.publicRanges.examples as example, index (`public-example-${index}`)} {example.ip} {example.owner} @@ -74,14 +74,14 @@

Process:

    - {#each privateVsPublicContent.natImplications.privateToPublic.process as step} + {#each privateVsPublicContent.natImplications.privateToPublic.process as step, index (`nat-step-${index}`)}
  1. {step}
  2. {/each}

Benefits:

    - {#each privateVsPublicContent.natImplications.privateToPublic.benefits as benefit} + {#each privateVsPublicContent.natImplications.privateToPublic.benefits as benefit, index (`benefit-${index}`)}
  • {benefit}
  • {/each}
@@ -93,14 +93,14 @@

Challenges:

    - {#each privateVsPublicContent.natImplications.publicToPrivate.challenges as challenge} + {#each privateVsPublicContent.natImplications.publicToPrivate.challenges as challenge, index (`challenge-${index}`)}
  • {challenge}
  • {/each}

Solutions:

    - {#each privateVsPublicContent.natImplications.publicToPrivate.solutions as solution} + {#each privateVsPublicContent.natImplications.publicToPrivate.solutions as solution, index (`solution-${index}`)}
  • {solution}
  • {/each}
@@ -121,7 +121,7 @@ - {#each privateVsPublicContent.identification.quickCheck as method} + {#each privateVsPublicContent.identification.quickCheck as method, index (`method-${index}`)} {method.method} {method.description} @@ -134,7 +134,7 @@

Useful Tools

- {#each privateVsPublicContent.identification.tools as tool} + {#each privateVsPublicContent.identification.tools as tool, index (`${tool.name}-${index}`)}
{tool.tool}
{tool.purpose}
@@ -145,7 +145,7 @@

Common Network Scenarios

- {#each privateVsPublicContent.commonScenarios as scenario} + {#each privateVsPublicContent.commonScenarios as scenario, index (`${scenario.scenario}-${index}`)}
{scenario.scenario}
@@ -160,7 +160,7 @@

Troubleshooting Common Issues

- {#each privateVsPublicContent.troubleshooting as issue} + {#each privateVsPublicContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
@@ -177,12 +177,12 @@

Security Considerations

- {#each privateVsPublicContent.securityConsiderations as security} + {#each privateVsPublicContent.securityConsiderations as security, index (`${security.aspect}-${index}`)}
{security.aspect}
    - {#each security.considerations as consideration} + {#each security.considerations as consideration, index (`consideration-${index}`)}
  • {consideration}
  • {/each}
@@ -194,7 +194,7 @@

Best Practices

    - {#each privateVsPublicContent.bestPractices as practice} + {#each privateVsPublicContent.bestPractices as practice, index (`practice-${index}`)}
  • {practice}
  • {/each}
@@ -206,14 +206,14 @@
Private IP Ranges
- {#each privateVsPublicContent.quickReference.privateRanges as range} + {#each privateVsPublicContent.quickReference.privateRanges as range, index (`qr-range-${index}`)}
{range}
{/each}
Identification Tips
- {#each privateVsPublicContent.quickReference.identificationTips as tip} + {#each privateVsPublicContent.quickReference.identificationTips as tip, index (`qr-tip-${index}`)}
{tip}
{/each}
diff --git a/src/routes/reference/reserved-ranges/+page.svelte b/src/routes/reference/reserved-ranges/+page.svelte index 9fff6f3..00ac49d 100644 --- a/src/routes/reference/reserved-ranges/+page.svelte +++ b/src/routes/reference/reserved-ranges/+page.svelte @@ -11,7 +11,7 @@
- {#each Object.entries(RESERVED_RANGES) as [rangeName, rangeInfo]} + {#each Object.entries(RESERVED_RANGES) as [rangeName, rangeInfo] (rangeName)}
diff --git a/src/routes/reference/reverse-dns/+page.svelte b/src/routes/reference/reverse-dns/+page.svelte index a26adad..32a2490 100644 --- a/src/routes/reference/reverse-dns/+page.svelte +++ b/src/routes/reference/reverse-dns/+page.svelte @@ -26,13 +26,13 @@

Process Steps

    - {#each reverseDnsContent.ipv4Reverse.process as step} + {#each reverseDnsContent.ipv4Reverse.process as step, index (`ipv4-process-${index}`)}
  1. {step}
  2. {/each}

IPv4 Examples

- {#each reverseDnsContent.ipv4Reverse.examples as example} + {#each reverseDnsContent.ipv4Reverse.examples as example, index (`${example.ip}-${index}`)}
IP Address: {example.ip}
@@ -54,7 +54,7 @@ - {#each reverseDnsContent.ipv4Reverse.delegation.examples as example} + {#each reverseDnsContent.ipv4Reverse.delegation.examples as example, index (`delegation-${index}`)} {example.network} {example.zone} @@ -70,13 +70,13 @@

Process Steps

    - {#each reverseDnsContent.ipv6Reverse.process as step} + {#each reverseDnsContent.ipv6Reverse.process as step, index (`ipv6-process-${index}`)}
  1. {step}
  2. {/each}

IPv6 Examples

- {#each reverseDnsContent.ipv6Reverse.examples as example} + {#each reverseDnsContent.ipv6Reverse.examples as example, index (`${example.ip}-${index}`)}
IP Address: {example.ip}
@@ -116,7 +116,7 @@ - {#each reverseDnsContent.practicalExamples.digExamples as example} + {#each reverseDnsContent.practicalExamples.digExamples as example, index (`dig-${index}`)} {example.command} {example.description} @@ -128,7 +128,7 @@

Common Use Cases

    - {#each reverseDnsContent.practicalExamples.commonChecks as check} + {#each reverseDnsContent.practicalExamples.commonChecks as check, index (`check-${index}`)}
  • {check}
  • {/each}
@@ -136,7 +136,7 @@

Troubleshooting Common Issues

- {#each reverseDnsContent.troubleshooting as issue} + {#each reverseDnsContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
@@ -153,7 +153,7 @@

Best Practices

    - {#each reverseDnsContent.bestPractices as practice} + {#each reverseDnsContent.bestPractices as practice, index (`practice-${index}`)}
  • {practice}
  • {/each}
@@ -165,14 +165,14 @@
IPv4 Quick Examples
- {#each reverseDnsContent.quickReference.ipv4 as example} + {#each reverseDnsContent.quickReference.ipv4 as example, index (`qr-ipv4-${index}`)}
{example}
{/each}
IPv6 Quick Examples
- {#each reverseDnsContent.quickReference.ipv6 as example} + {#each reverseDnsContent.quickReference.ipv6 as example, index (`qr-ipv6-${index}`)}
{example}
{/each}
@@ -180,7 +180,7 @@

Useful Tools

- {#each reverseDnsContent.tools as tool} + {#each reverseDnsContent.tools as tool, index (`${tool.name}-${index}`)}
{tool.name}
{tool.description}
diff --git a/src/routes/reference/reverse-zones/+page.svelte b/src/routes/reference/reverse-zones/+page.svelte index 4cd927d..180f9ad 100644 --- a/src/routes/reference/reverse-zones/+page.svelte +++ b/src/routes/reference/reverse-zones/+page.svelte @@ -36,7 +36,7 @@ - {#each reverseZonesContent.ipv4Zones.classfullBoundaries as boundary} + {#each reverseZonesContent.ipv4Zones.classfullBoundaries as boundary, index (`${boundary.network}-${index}`)} {boundary.cidr} {boundary.example} @@ -49,7 +49,7 @@

Classless Delegation (CNAME Method)

- {#each reverseZonesContent.ipv4Zones.classlessDelegation as delegation} + {#each reverseZonesContent.ipv4Zones.classlessDelegation as delegation, index (`${delegation.network}-${index}`)}
{delegation.cidr} - {delegation.example}
@@ -57,7 +57,7 @@
Problem: {delegation.problem}
Solution: {delegation.solution}
Zone Names:
- {#each delegation.zones as zone} + {#each delegation.zones as zone, index (`zone-${index}`)} {zone} {/each}
@@ -65,7 +65,7 @@ {/each}

Practical IPv4 Examples

- {#each reverseZonesContent.ipv4Zones.practicalExamples as example} + {#each reverseZonesContent.ipv4Zones.practicalExamples as example, index (`${example.network}-${index}`)}
{example.scenario}
@@ -73,13 +73,13 @@
Reverse Zone: {example.reverseZone}
{#if example.reverseZones}
Reverse Zones:
- {#each example.reverseZones as zone} + {#each example.reverseZones as zone, index (`rz-${index}`)} {zone} {/each}
Description: {example.description}
{:else}
PTR Records:
- {#each example.ptrRecords as record} + {#each example.ptrRecords as record, index (`ptr-${index}`)} {record} {/each} {/if} @@ -104,7 +104,7 @@ - {#each reverseZonesContent.ipv6Zones.nibbleBoundaries as boundary} + {#each reverseZonesContent.ipv6Zones.nibbleBoundaries as boundary, index (`${boundary.prefix}-${index}`)} {boundary.cidr} {boundary.example} @@ -117,14 +117,14 @@

Practical IPv6 Examples

- {#each reverseZonesContent.ipv6Zones.practicalExamples as example} + {#each reverseZonesContent.ipv6Zones.practicalExamples as example, index (`${example.network}-${index}`)}
{example.scenario}
Network: {example.network}
Master Zone: {example.reverseZone}
Sub-zones:
- {#each example.subZones as zone} + {#each example.subZones as zone, index (`subzone-${index}`)} {zone} {/each}
Management: {example.management}
@@ -146,7 +146,7 @@

Explanation:

    - {#each reverseZonesContent.zoneCreation.ipv4Example.explanation as point} + {#each reverseZonesContent.zoneCreation.ipv4Example.explanation as point, index (`ipv4-point-${index}`)}
  • {point}
  • {/each}
@@ -161,7 +161,7 @@

Explanation:

    - {#each reverseZonesContent.zoneCreation.ipv6Example.explanation as point} + {#each reverseZonesContent.zoneCreation.ipv6Example.explanation as point, index (`ipv6-point-${index}`)}
  • {point}
  • {/each}
@@ -171,7 +171,7 @@

Delegation Scenarios

- {#each reverseZonesContent.delegationScenarios as scenario} + {#each reverseZonesContent.delegationScenarios as scenario, index (`${scenario.scenario}-${index}`)}
{scenario.scenario}
@@ -180,21 +180,21 @@ {#if scenario.customerActions}
Customer Actions:
    - {#each scenario.customerActions as action} + {#each scenario.customerActions as action, index (`customer-${index}`)}
  • {action}
  • {/each}
ISP Actions:
    - {#each scenario.ispActions as action} + {#each scenario.ispActions as action, index (`isp-${index}`)}
  • {action}
  • {/each}
{:else}
Process:
    - {#each scenario.process as step} + {#each scenario.process as step, index (`process-${index}`)}
  1. {step}
  2. {/each}
@@ -206,7 +206,7 @@

Troubleshooting

- {#each reverseZonesContent.troubleshooting as issue} + {#each reverseZonesContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
@@ -224,7 +224,7 @@

Best Practices

    - {#each reverseZonesContent.bestPractices as practice} + {#each reverseZonesContent.bestPractices as practice, index (`practice-${index}`)}
  • {practice}
  • {/each}
@@ -236,14 +236,14 @@
Zone Name Formulas
- {#each reverseZonesContent.quickReference.zoneFormulas as formula} + {#each reverseZonesContent.quickReference.zoneFormulas as formula, index (`${formula.mask}-${index}`)}
{formula}
{/each}
Essential Records
- {#each reverseZonesContent.quickReference.essentialRecords as record} + {#each reverseZonesContent.quickReference.essentialRecords as record, index (`${record.type}-${index}`)}
{record}
{/each}
@@ -264,7 +264,7 @@

Testing Tools

- {#each reverseZonesContent.tools as tool} + {#each reverseZonesContent.tools as tool, index (`${tool.name}-${index}`)}
{tool.tool}
{tool.purpose}
diff --git a/src/routes/reference/special-use-ipv4/+page.svelte b/src/routes/reference/special-use-ipv4/+page.svelte index 6d818cf..0994f6d 100644 --- a/src/routes/reference/special-use-ipv4/+page.svelte +++ b/src/routes/reference/special-use-ipv4/+page.svelte @@ -24,7 +24,7 @@ - {#each specialIPv4Content.ranges as range (range.network)} + {#each specialIPv4Content.ranges as range, rangeIdx (`${range.network}-${rangeIdx}`)} {range.network} {range.purpose} @@ -49,7 +49,7 @@
Private Networks (RFC 1918)
- {#each specialIPv4Content.categories.private as network (network.cidr)} + {#each specialIPv4Content.categories.private as network, privIdx (`${network}-${privIdx}`)}
{network}
{/each}
Never routed on the public internet
@@ -57,7 +57,7 @@
Test Networks (RFC 5737)
- {#each specialIPv4Content.categories.testing as network (network.cidr)} + {#each specialIPv4Content.categories.testing as network, testIdx (`${network}-${testIdx}`)}
{network}
{/each}
Safe for documentation and examples
@@ -65,7 +65,7 @@
Carrier-Grade NAT
- {#each specialIPv4Content.categories.cgnat as network (network.cidr)} + {#each specialIPv4Content.categories.cgnat as network, cgnatIdx (`${network}-${cgnatIdx}`)}
{network}
{/each}
ISP shared addressing space
@@ -73,7 +73,7 @@
Special Purpose
- {#each specialIPv4Content.categories.special as network (network.cidr)} + {#each specialIPv4Content.categories.special as network, specIdx (`${network}-${specIdx}`)}
{network}
{/each}
Loopback, link-local, multicast
@@ -85,7 +85,7 @@

Quick Recognition Tips

What Each Range Means
- {#each specialIPv4Content.quickTips as tip (tip)} + {#each specialIPv4Content.quickTips as tip, tipIdx (`${tip}-${tipIdx}`)}
{tip}
diff --git a/src/routes/reference/supernetting/+page.svelte b/src/routes/reference/supernetting/+page.svelte index 1db3512..d4d5062 100644 --- a/src/routes/reference/supernetting/+page.svelte +++ b/src/routes/reference/supernetting/+page.svelte @@ -33,12 +33,12 @@

Summarization Examples

- {#each supernetContent.examples as example (example.title)} + {#each supernetContent.examples as example, exIdx (`${example.title}-${exIdx}`)}
{example.title}
Individual Networks:
- {#each example.networks as network (network)} + {#each example.networks as network, netIdx (`${network}-${netIdx}`)}
{network}
{/each}
↓ Summarizes to ↓
@@ -52,7 +52,7 @@

{supernetContent.stepByStep.title}

    - {#each supernetContent.stepByStep.steps as step (step.title)} + {#each supernetContent.stepByStep.steps as step, stepIdx (`${step}-${stepIdx}`)}
  1. {step}
  2. {/each}
@@ -70,7 +70,7 @@ - {#each supernetContent.binaryExample.binary as row (row.network)} + {#each supernetContent.binaryExample.binary as row, rowIdx (`${row.network}-${rowIdx}`)} {row.network} {row.binary} @@ -93,7 +93,7 @@

Benefits of Route Summarization

    - {#each supernetContent.benefits as benefit (benefit)} + {#each supernetContent.benefits as benefit, benIdx (`${benefit}-${benIdx}`)}
  • {benefit}
  • {/each}
@@ -101,7 +101,7 @@

Common Pitfalls

- {#each supernetContent.pitfalls as pitfall (pitfall.title)} + {#each supernetContent.pitfalls as pitfall, pitIdx (`${pitfall.title}-${pitIdx}`)}
@@ -126,7 +126,7 @@ - {#each supernetContent.quickReference as row (row.networks)} + {#each supernetContent.quickReference as row, refIdx (`${row.networks}-${refIdx}`)} {row.networks} {row.summary} diff --git a/src/routes/reference/vlsm/+page.svelte b/src/routes/reference/vlsm/+page.svelte index abf14b2..6ced2c4 100644 --- a/src/routes/reference/vlsm/+page.svelte +++ b/src/routes/reference/vlsm/+page.svelte @@ -44,7 +44,7 @@
Requirements
    - {#each vlsmContent.example.requirements as req (req.network)} + {#each vlsmContent.example.requirements as req, reqIdx (`${req.name}-${reqIdx}`)}
  • {req.name}: {req.hosts} hosts (needs {req.needsPrefix})
  • {/each}
@@ -53,7 +53,7 @@
VLSM Solution
    - {#each vlsmContent.example.solution as subnet (subnet.network)} + {#each vlsmContent.example.solution as subnet, subIdx (`${subnet.subnet}-${subIdx}`)}
  • {subnet.subnet} - {subnet.use} ({subnet.hosts})
  • {/each}
@@ -63,7 +63,7 @@

Common Pitfalls and Solutions

- {#each vlsmContent.pitfalls as pitfall (pitfall.title)} + {#each vlsmContent.pitfalls as pitfall, pitIdx (`${pitfall.title}-${pitIdx}`)}
@@ -80,7 +80,7 @@

Best Practices

    - {#each vlsmContent.bestPractices as practice (practice)} + {#each vlsmContent.bestPractices as practice, pracIdx (`${practice}-${pracIdx}`)}
  • {practice}
  • {/each}
@@ -90,7 +90,7 @@

Quick Tips

Remember These
- {#each vlsmContent.tips as tip (tip)} + {#each vlsmContent.tips as tip, tipIdx (`${tip}-${tipIdx}`)}
{tip}
diff --git a/src/routes/reference/wildcard-masks/+page.svelte b/src/routes/reference/wildcard-masks/+page.svelte index aacebbe..f8aa582 100644 --- a/src/routes/reference/wildcard-masks/+page.svelte +++ b/src/routes/reference/wildcard-masks/+page.svelte @@ -34,7 +34,7 @@

Conversion Examples

- {#each wildcardMasksContent.conversionExamples as example (example.network)} + {#each wildcardMasksContent.conversionExamples as example, exIdx (`${example.network}-${exIdx}`)}
{example.description}
@@ -53,7 +53,7 @@

Steps:

    - {#each wildcardMasksContent.quickConversion.steps as step (step)} + {#each wildcardMasksContent.quickConversion.steps as step, stepIdx (`${step}-${stepIdx}`)}
  1. {step}
  2. {/each}
@@ -68,7 +68,7 @@ - {#each wildcardMasksContent.quickConversion.examples as example (example.subnet)} + {#each wildcardMasksContent.quickConversion.examples as example, qexIdx (`${example.subnet}-${qexIdx}`)} {example.subnet} {example.calculation} @@ -81,9 +81,9 @@

ACL Examples by Platform

- {#each wildcardMasksContent.aclExamples as platform (platform.name)} + {#each wildcardMasksContent.aclExamples as platform, pIdx (`${platform.name}-${pIdx}`)}

{platform.title}

- {#each platform.entries as entry (entry)} + {#each platform.entries as entry, eIdx (`${entry}-${eIdx}`)}
{entry.meaning}
@@ -98,7 +98,7 @@

Special Cases

- {#each wildcardMasksContent.specialCases as specialCase (specialCase.case)} + {#each wildcardMasksContent.specialCases as specialCase, scIdx (`${specialCase.case}-${scIdx}`)}
{specialCase.case}
Wildcard: {specialCase.wildcard}
@@ -125,7 +125,7 @@ - {#each wildcardMasksContent.platformDifferences as platform (platform.platform)} + {#each wildcardMasksContent.platformDifferences as platform, pdIdx (`${platform.platform}-${pdIdx}`)} {platform.platform} {platform.format} @@ -149,7 +149,7 @@ - {#each wildcardMasksContent.quickReference as row (row.subnet)} + {#each wildcardMasksContent.quickReference as row, refIdx (`${row.subnet}-${refIdx}`)} {row.prefix} {row.subnet} @@ -163,7 +163,7 @@

Common Mistakes

- {#each wildcardMasksContent.commonMistakes as mistake (mistake.mistake)} + {#each wildcardMasksContent.commonMistakes as mistake, mIdx (`${mistake.mistake}-${mIdx}`)}
@@ -181,7 +181,7 @@

Tips for Success

Remember These
- {#each wildcardMasksContent.tips as tip (tip)} + {#each wildcardMasksContent.tips as tip, tipIdx (`${tip}-${tipIdx}`)}
{tip}