CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2009/10/04 05:39:32

Modified files:
        sbin/ipsecctl  : ike.c 

Log message:
When IKE is operating in dynamic mode and no srcid is given, the hostname
is used as the srcid, however the srcid type is not specified. Rectify this
by explicitly setting the srcid type to FQDN after successfully retrieving the
hostname. This worked prior to the addition of IPV4_ADDR/IPV6_ADDR support
since get_id_type() returned ID_FQDN even when presented with a null pointer.

Issue reported by Mikolaj Kucharski.

Reply via email to