diff --git a/src/Network/Network/ChangeLog.md b/src/Network/Network/ChangeLog.md index 4ccee2592458..1add3c5300a6 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 ## Version 5.4.0 * Fixed a bug that does not enable to set Perform SNAT to Always 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; + } } }