def resolve(self, x):
        if conf.resolve in self:
            try:
                ret = socket.gethostbyaddr(x)[0]
            except:
                pass
            else:
                if ret:
                    return ret
        return x
dataset/ETHPy150Open phaethon/scapy/scapy/fields.py/IPField.resolve/swapped operands of `in`