diff options
author | Martin Willi <martin@revosec.ch> | 2010-11-10 14:17:03 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-01-05 16:45:43 +0100 |
commit | b6c796464d625b192fcdafe19e13f115cfb95c46 (patch) | |
tree | b851497df7497043880f4da92339d13559c07d6a /src/libcharon/encoding/parser.c | |
parent | 9431023ce61868338d1072cce5e0410b3a700703 (diff) | |
download | strongswan-b6c796464d625b192fcdafe19e13f115cfb95c46.tar.bz2 strongswan-b6c796464d625b192fcdafe19e13f115cfb95c46.tar.xz |
Use the payloads actual type in unknown_payload_t
Diffstat (limited to 'src/libcharon/encoding/parser.c')
-rw-r--r-- | src/libcharon/encoding/parser.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcharon/encoding/parser.c b/src/libcharon/encoding/parser.c index 9aa34b1bc..0993134db 100644 --- a/src/libcharon/encoding/parser.c +++ b/src/libcharon/encoding/parser.c @@ -387,12 +387,6 @@ static status_t parse_payload(private_parser_t *this, DBG3(DBG_ENC, "parsing payload from %b", this->byte_pos, this->input_roof - this->byte_pos); - if (pld->get_type(pld) == UNKNOWN_PAYLOAD) - { - DBG1(DBG_ENC, " payload type %d is unknown, handling as %N", - payload_type, payload_type_names, UNKNOWN_PAYLOAD); - } - /* base pointer for output, avoids casting in every rule */ output = pld; |