(self)
| 556 | return inst |
| 557 | |
| 558 | def copy(self) -> DNSMessage: |
| 559 | # we keep the copy semantics but change the ID generation |
| 560 | state = self.get_state() |
| 561 | state["id"] = random.randint(0, 65535) |
| 562 | return DNSMessage.from_state(state) |
| 563 | |
| 564 | |
| 565 | class DNSFlow(flow.Flow): |
nothing calls this directly
no test coverage detected