From 0779bac5fcd9df50d93b163b32512e67f8b1ea77 Mon Sep 17 00:00:00 2001 From: Gizachew Eshetie Date: Mon, 30 Jan 2023 14:13:15 -0800 Subject: [PATCH 1/2] Bug : classic fw private ranges reverts to default when doing get & set --- src/Network/Network/Models/AzureFirewall/PSAzureFirewall.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Network/Network/Models/AzureFirewall/PSAzureFirewall.cs b/src/Network/Network/Models/AzureFirewall/PSAzureFirewall.cs index 2a36fe57ab77..b03576bd7af7 100644 --- a/src/Network/Network/Models/AzureFirewall/PSAzureFirewall.cs +++ b/src/Network/Network/Models/AzureFirewall/PSAzureFirewall.cs @@ -66,8 +66,10 @@ public string[] PrivateRange set { if (value != null) + { ValidatePrivateRange(value); - privateRange = value; + privateRange = value; + } } } From c14f0ca943bb91c437c3ed21c0d86020e59fdc8a Mon Sep 17 00:00:00 2001 From: Gizachew Eshetie Date: Mon, 30 Jan 2023 14:15:14 -0800 Subject: [PATCH 2/2] Added change log --- src/Network/Network/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Network/Network/ChangeLog.md b/src/Network/Network/ChangeLog.md index ee57be53a14b..c6d2f5b6c1d7 100644 --- a/src/Network/Network/ChangeLog.md +++ b/src/Network/Network/ChangeLog.md @@ -19,6 +19,7 @@ ---> ## Upcoming Release +* Fixed a bug that reverts classic fw private ranges to default when doing get & set * Fixed a bug that does not enable to set Perform SNAT to Always * Fixed the incorrect type of `-TotalBytesPerSession` in `New-AzNetworkWatcherPacketCapture`