summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2009-10-04 11:39:33 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2009-10-04 11:39:33 +0000
commitdd5c2f75fe5e092eb892c438f7f87faa2e57fcb6 (patch)
tree0c972dfc55ad6d50555ba7472276de6e6ce4503a /sbin/sysctl/sysctl.c
parente4f6aba2c964f23f9ea127835203e7ae4cca678b (diff)
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.
Diffstat (limited to 'sbin/sysctl/sysctl.c')
0 files changed, 0 insertions, 0 deletions