aodvv2: check for for debug switch correctly