Allow CMSG_CHAR_ENUM from AntiDOS

Fix the problem related at #11176

And I do not think that is the best way.