view dropbear_lint.sh @ 1858:ed3326f21888

Test for IP_TOS and hardcode DSCP values This allows it to work on macos too
author Matt Johnston <matt@ucc.asn.au>
date Tue, 25 Jan 2022 17:57:05 +0800
parents 90fffce0ee99
children
line wrap: on
line source

#!/bin/sh

EXITCODE=0

# #ifdef instead of #if
grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1

exit $EXITCODE