* (Legacy code) Bug fix to allow the --rand-port argument to function along

without an inappropriate check for the --Server-port arg.


git-svn-id: file:///home/mbr/svn/fwknop/trunk@165 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Michael Rash 2009-11-20 04:52:32 +00:00
parent fc8e8dd2dc
commit 867990aa7d
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@
user and password via the following syntax:
'http://username:password@proxy.com:port' or
'http://username:password@proxy.com'
* (Legacy code) Bug fix to allow the --rand-port argument to function along
without an inappropriate check for the --Server-port arg.
2009-10-27 Michael Rash <mbr@cipherdyne.org>
* Added --http-proxy argument to the fwknop C client so that SPA packets

View File

@ -979,7 +979,7 @@ sub fko_encrypt() {
sub assign_spa_port() {
if ($rand_port and $cmdl_spa_port != $DEFAULT_PORT) {
if ($rand_port and $cmdl_spa_port != 0) {
die "[*] Cannot use --Server-port and --rand-port at the same time";
}