pex: move rx header check to callback function
authorFelix Fietkau <nbd@nbd.name>
Thu, 15 Sep 2022 19:18:42 +0000 (21:18 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 16 Sep 2022 16:55:17 +0000 (18:55 +0200)
commit543e4a3d2ed7c227c69b223116f7ba8c5b126cfe
tree5c50cc18b56ccafb329134e8097feb4581ebce78
parentbe175767bc67aad0cc0df2c28e7caddb988843d0
pex: move rx header check to callback function

Fixes some length check bugs in the cli code and allows other protocols to be
used on the global PEX port.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
cli.c
pex-msg.c
pex-msg.h
pex.c