diff --git a/JuniperMigration/JuniperParser.cs b/JuniperMigration/JuniperParser.cs index 897ea61..31a781e 100644 --- a/JuniperMigration/JuniperParser.cs +++ b/JuniperMigration/JuniperParser.cs @@ -157,6 +157,12 @@ protected override void ParseVersion(object versionProvider) if (versionNode != null && versionNode.Value.Length > 0) { VendorVersion = Regex.Match(versionNode.Value, @"\d+(\.\d+)?").Value; + } else + { + if (configNode.Parent.FirstAttribute.Value.Contains("xml.juniper.net")) + { + VendorVersion = Regex.Match(configNode.Parent.FirstAttribute.Value, @"\d+(\.\d+)?").Value; + } } } }