diff --git a/src/core/operations/ParseIPRange.mjs b/src/core/operations/ParseIPRange.mjs
index fcb3b006..ec4a7fc8 100644
--- a/src/core/operations/ParseIPRange.mjs
+++ b/src/core/operations/ParseIPRange.mjs
@@ -22,7 +22,7 @@ class ParseIPRange extends Operation {
this.name = "Parse IP range";
this.module = "Default";
- this.description = "Given a CIDR range (e.g. 10.0.0.0/24
), IP and subnet mask (e.g 10.0.0.0/255.255.255.0
), hyphenated range (e.g. 10.0.0.0 - 10.0.1.0
), or a list of IPs and/or CIDR ranges/subnet masks (separated by a new line), this operation provides network information and enumerates all IP addresses in the range.
IPv6 is supported but will not be enumerated.";
+ this.description = "This operation provides network information and enumerates all IP addresses in the given range.
Supported inputs:
- IP with a CIDR (e.g.
10.0.0.0/24
) - IP with a subnet mask (e.g
10.0.0.0/255.255.255.0
) - Hyphenated range (e.g.
10.0.0.0 - 10.0.1.0
). Only one hyphenated range is allowed - List of IPs and/or CIDR ranges/subnet masks separated by a new line
IPv6 is supported but will not be enumerated.";
this.infoURL = "https://wikipedia.org/wiki/Subnetwork";
this.inputType = "string";
this.outputType = "string";
@@ -82,7 +82,7 @@ class ParseIPRange extends Operation {
} else if ((match = ipv6ListRegex.exec(input))) {
return ipv6ListedRange(match, includeNetworkInfo);
} else {
- throw new OperationError("Invalid input.\n\nThe following input strings are supported:\nCIDR range (e.g. 10.0.0.0/24)\nSubnet mask (e.g. 10.0.0.0/255.255.255.0)\nHyphenated range (e.g. 10.0.0.0 - 10.0.1.0)\nIPv6 also supported.");
+ throw new OperationError("Invalid input.\n\nThe following input strings are supported:\nCIDR range (e.g. 10.0.0.0/24)\nSubnet mask (e.g. 10.0.0.0/255.255.255.0)\nHyphenated range (e.g. 10.0.0.0 - 10.0.1.0). Only one hyphenated range is allowed\nIPv6 also supported.");
}
}
diff --git a/tests/operations/tests/ParseIPRange.mjs b/tests/operations/tests/ParseIPRange.mjs
index e4b6c1db..428fa96b 100644
--- a/tests/operations/tests/ParseIPRange.mjs
+++ b/tests/operations/tests/ParseIPRange.mjs
@@ -132,7 +132,7 @@ TestRegister.addTests([
{
name: "invalid IPv6 address error",
input: "2404:6800:4001:/12",
- expectedOutput: "Invalid input.\n\nThe following input strings are supported:\nCIDR range (e.g. 10.0.0.0/24)\nSubnet mask (e.g. 10.0.0.0/255.255.255.0)\nHyphenated range (e.g. 10.0.0.0 - 10.0.1.0)\nIPv6 also supported.",
+ expectedOutput: "Invalid input.\n\nThe following input strings are supported:\nCIDR range (e.g. 10.0.0.0/24)\nSubnet mask (e.g. 10.0.0.0/255.255.255.0)\nHyphenated range (e.g. 10.0.0.0 - 10.0.1.0). Only one hyphenated range is allowed\nIPv6 also supported.",
recipeConfig: [
{
"op": "Parse IP range",