From 366d2b8ec86924e9c1939ed61356c98c49408a7d Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Tue, 3 Oct 2023 17:01:46 -0400 Subject: [PATCH] zone in dynv6 ip files also applies to windows --- Dynv6.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dynv6.ps1 b/Dynv6.ps1 index 6add829..0199989 100644 --- a/Dynv6.ps1 +++ b/Dynv6.ps1 @@ -64,8 +64,8 @@ if (Test-Path -Path $configFile) { } # we store ip addresses in files, so we only update when there is a change -$file4 = "$env:USERPROFILE\\.dynv6.addr4" -$file6 = "$env:USERPROFILE\\.dynv6.addr6" +$file4 = "$env:USERPROFILE\\.dynv6.addr4.$zone" +$file6 = "$env:USERPROFILE\\.dynv6.addr6.$zone" # load existing ip addresses, when available if (Test-Path -Path $file4) {