Skip to content

Commit

Permalink
strip supplied port automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
drwetter committed Jun 9, 2017
1 parent b695052 commit 1521947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/ticketbleed.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ trap "cleanup" QUIT EXIT
SID="x00,x00,x0B,xAD,xC0,xDE," # don't forget the trailing comma

NODE="$1"
PORT="443"
NODE="${NODE%:*}" # strip port if supplied
PORT="443" # we curently support 443 only
TLSV=${2:-01} # TLS 1.0=x01 1.1=0x02, 1.2=0x3
MAXSLEEP=10
SOCKREPLY=""
Expand Down

0 comments on commit 1521947

Please sign in to comment.