def set_opcode(self, opcode):
        self.flags &= 0x87FF
        self.flags |= dns.opcode.to_flags(opcode)
Set the opcode.
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/message.py/Message.set_opcode