The invention relates to compounds of the general formula (I), wherein the variable have the meanings as indicated in the claims, or a physiologically acceptable salt thereof. The active ingredients have advantageous pesticidal properties. They are especially suitable for controlling endoparasites in warm-blooded animals.