diff --git a/ChangeLog b/ChangeLog index ebd0e99e..8f658fb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +fwknop-2.6.1 (//2014): + - [client] Minor bug fixes in 'udpraw' mode (normally used for spoofing the + SPA source IP) to set a non-zero source port and to properly set the + length field of the UDP header. + - Updated copyright and authorship information to include a standard + header which references both the AUTHORS and CREDITS files. The + specific language in this header was created by the Debian legal team at + the request of Franck Joncourt. + fwknop-2.6.0 (01/12/2014): - (Radostan Riedel) Added an AppArmor policy for fwknopd that is known to work on Debian and Ubuntu systems. The policy file is available at diff --git a/client/fwknop.c b/client/fwknop.c index 28ed226a..08205666 100644 --- a/client/fwknop.c +++ b/client/fwknop.c @@ -471,7 +471,7 @@ main(int argc, char **argv) || options.spa_proto == FKO_PROTO_ICMP) && !options.spa_src_port) { - tmp_port = get_rand_port(); + tmp_port = get_rand_port(ctx); if(tmp_port < 0) clean_exit(ctx, &options, key, &orig_key_len, hmac_key, &hmac_key_len, EXIT_FAILURE);