Skip to content

Commit bfe491c

Browse files
authored
Merge pull request #64 from Botinoc/dev
juniper Juno-OS add support for "any"
2 parents f6eb426 + 1f8c82b commit bfe491c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

JuniperMigration/JuniperConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3807,7 +3807,7 @@ private CheckPointObject GetCheckPointObjectFromJuniperNatPoolAddress(Juniper_Na
38073807

38083808
private CheckPointObject GetCheckPointObjectFromJuniperNatAddressName(string addressName, JuniperObject natRule)
38093809
{
3810-
if (addressName.Equals(JuniperObject.AnyIPv4, StringComparison.InvariantCultureIgnoreCase))
3810+
if (addressName.Equals(JuniperObject.AnyIPv4, StringComparison.InvariantCultureIgnoreCase) || addressName.Equals("any", StringComparison.InvariantCultureIgnoreCase))
38113811
{
38123812
addressName = CheckPointObject.Any;
38133813
}
@@ -4652,7 +4652,7 @@ private void ReplaceJuniperInvalidApplicationsReferences()
46524652

46534653
private CheckPointObject GetCheckPointObjectOrCreateDummy(string cpObjectName, string dummyObjectType, JuniperObject juniperObject, string errorTitle, string errorDescription, bool createDummy = true)
46544654
{
4655-
if (cpObjectName.Equals(JuniperObject.AnyIPv4, StringComparison.InvariantCultureIgnoreCase))
4655+
if (cpObjectName.Equals(JuniperObject.AnyIPv4, StringComparison.InvariantCultureIgnoreCase) || cpObjectName.Equals("any", StringComparison.InvariantCultureIgnoreCase))
46564656
{
46574657
cpObjectName = CheckPointObject.Any;
46584658
}

SmartMove/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ private void EnableDisableControls(bool enable)
864864
DomainName.IsEnabled = enable;
865865
ConvertNAT.IsEnabled = enable;
866866
SkipUnusedObjects.IsEnabled = enable;
867-
CreateServiceGroupsConf.IsEnabled = enable;
867+
CreateServiceGroupsConf.IsEnabled = false;
868868
Go.IsEnabled = enable;
869869
}
870870

0 commit comments

Comments
 (0)