utils: fix ipv4 checksum issue
authorFelix Fietkau <nbd@nbd.name>
Fri, 5 May 2023 12:37:19 +0000 (14:37 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 5 May 2023 12:37:21 +0000 (14:37 +0200)
commitfaaf9cee6ef4cd0f5e38713fa18824e9eef535e5
treea72d0785b6159779b4c89a8665a624ed1a134af6
parent412d03012f13ca1de7b16e2b73960df4cbb6279f
utils: fix ipv4 checksum issue

The parameter order for protocol and length was accidentally reversed,
leading to issues for packets > 256 bytes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
utils.c