def i2h(self, pkt, x):
        if x is None:
            dst=getattr(pkt,self.dstname)
            if isinstance(dst,Gen):
                #r = map(conf.route.route, dst)
                r = [ conf.route.route(i) for i in dst ]
                r.sort()
                if r[0] != r[-1]:
                    warning(repr(dst)%"More than one possible route for %s")
                iff,x,gw = r[0]
            else:
                iff,x,gw = conf.route.route(dst)
        return IPField.i2h(self, pkt, x)
dataset/ETHPy150Open phaethon/scapy/scapy/fields.py/SourceIPField.i2h/swapped operands of `%`