diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-24 07:38:36 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-24 07:38:36 +0000 |
commit | cd77ffc4de8ce581d4c45f28441efc5e8ece2009 (patch) | |
tree | aa54bf29961fe46c4034af85b69f8ad26f049cfa | |
parent | 4af33bd7a28dc362457946655825656d53455482 (diff) | |
download | strongswan-cd77ffc4de8ce581d4c45f28441efc5e8ece2009.tar.bz2 strongswan-cd77ffc4de8ce581d4c45f28441efc5e8ece2009.tar.xz |
log APPLICATION_VERSION and UNITY_DDNS_HOSTNAME strings
-rw-r--r-- | src/pluto/modecfg.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pluto/modecfg.c b/src/pluto/modecfg.c index 2fff7a3a0..5b982744f 100644 --- a/src/pluto/modecfg.c +++ b/src/pluto/modecfg.c @@ -465,6 +465,15 @@ modecfg_parse_attributes(pb_stream *attrs, internal_addr_t *ia) case INTERNAL_IP4_NBNS: ia->attr_set |= LELEM(attr_type); break; + case APPLICATION_VERSION: + case UNITY_DDNS_HOSTNAME: + if (attr_len > 0) + { + DBG(DBG_PARSING, + DBG_log(" '%.*s'", attr_len, strattr.cur) + ) + } + break; case XAUTH_TYPE: ia->xauth_type = attr.isaat_lv; ia->attr_set |= LELEM(attr_type - XAUTH_BASE + MODECFG_ROOF); |