Skip to content

Commit

Permalink
#52: support for */all ip placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
Badgerati committed Jul 3, 2018
1 parent 083c907 commit dfb3bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tools/Session.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function Listen
$Type
)

$hostRgx = '(?<host>(\[[a-z0-9\:]+\]|((\d+\.){3}\d+)|\:\:\d+))'
$hostRgx = '(?<host>(\[[a-z0-9\:]+\]|((\d+\.){3}\d+)|\:\:\d+|\*|all))'
$portRgx = '(?<port>\d+)'
$cmbdRgx = "$($hostRgx)\:$($portRgx)"

Expand Down

0 comments on commit dfb3bd2

Please sign in to comment.