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