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.
3 files changed
tree: 94877c0c490939ebf71f390e98b7933ec22d046c
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/
  5. README