8f1a2789a9
Bug: FortiOS 7.x ana-gw replied to 'execute dhcp lease-list all' with "Interface name 'all' does not exist." — my error-pattern grep didn't include that phrase, so the script thought it got valid data, bailed out of the retry loop, and handed empty/garbage to the parser, which produced zero output with no error. Fix: try the plain `execute dhcp lease-list` form first (works across versions we've seen), fall back to the `all` variant only if the plain form returns nothing. Validate acceptance by grepping for an actual IP-shaped token — the parser needs IPs anyway, so "got real data" and "has at least one IP" are equivalent conditions.