]> git.ipfire.org Git - thirdparty/strongswan.git/commit
parser: Make debug log for payload substructure rules more clear
authorTobias Brunner <tobias@strongswan.org>
Wed, 2 Oct 2024 07:57:14 +0000 (09:57 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 2 Oct 2024 08:07:36 +0000 (10:07 +0200)
commit2ec6d50a3ccb28d7f780c2bfa358ea14ef7fee7e
treeabd40c77ff7810107adfdbf1a09b9cd418ac68b2
parentbe0af46d89d39512ec59706ab2d531f026169395
parser: Make debug log for payload substructure rules more clear

Instead of this

  parsing rule 10 (1258)

we now see this

  parsing rule 10 LIST of PROPOSAL_SUBSTRUCTURE

in the debug log. Particularly useful if the list is empty as there won't
be a message like this following it:

  x bytes left, parsing recursively PROPOSAL_SUBSTRUCTURE
src/libcharon/encoding/parser.c