[padb-devel] [padb] r133 committed - Allow a port range to be just a number as well as a bracket...
codesite-noreply at google.com
codesite-noreply at google.com
Sat Aug 22 19:06:37 BST 2009
Revision: 133
Author: apittman
Date: Sat Aug 22 11:05:12 2009
Log: Allow a port range to be just a number as well as a bracket
specified list.
http://code.google.com/p/padb/source/detail?r=133
Modified:
/trunk/src/padb
=======================================
--- /trunk/src/padb Sat Aug 22 11:02:02 2009
+++ /trunk/src/padb Sat Aug 22 11:05:12 2009
@@ -3617,6 +3617,8 @@
if ( $range =~ m/^\[([\d\-\,]+)\]$/ ) {
$newrange = $1;
+ } elsif ( $range =~ m/^(\d+)$/ ) {
+ $newrange = $1;
} else {
die("Failed to recognise $range as range\n");
}
More information about the padb-devel
mailing list