(self, pkt, x)
| 339 | (may be StrLenField if a length_from is passed), |
| 340 | """ |
| 341 | def any2i(self, pkt, x): |
| 342 | if x and isinstance(x, list): |
| 343 | return [self.h2i(pkt, y) for y in x] |
| 344 | return super(DNSStrField, self).any2i(pkt, x) |
| 345 | |
| 346 | def h2i(self, pkt, x): |
| 347 | # Setting a DNSStrField manually (h2i) means any current compression will break |
no test coverage detected