commit | ca05d432d71cd940e6da9af1930096aaab47f897 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@gnumonks.org> | Mon Apr 11 16:32:50 2011 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Apr 12 21:50:46 2011 +0200 |
tree | 94877c0c490939ebf71f390e98b7933ec22d046c | |
parent | 0d20b635749dea8f056245f283ce571e65d8c2c7 [diff] |
src: more robust ipaccess_idtag_parse() Now ipaccess_idtag_parse() returns -EINVAL instead of -1. We also check for the return value of this function in every invocation to skip further processing in case of messages with malformed TLVs. This idea was suggested by Zecke.