Skip to content

Wrong comparison in Client.php "qtype == 'AXFR'" #169

@chaosben

Description

@chaosben

The comparison looks wrong and returns always "false":

$response = $this->sendTCPRequest($ns, $data, ($_request->question[0]->qtype == 'AXFR') ? true : false);

Should that actually be like this?

$response = $this->sendTCPRequest($ns, $data, ($_request->question[0]->qtype == \NetDNS2\ENUM\RR\Type::AXFR) ? true : false);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions