(self, pkt, x)
| 924 | return pkt.route()[1] or conf.route.route()[1] |
| 925 | |
| 926 | def i2m(self, pkt, x): |
| 927 | # type: (Optional[Packet], Optional[Union[str, Net]]) -> bytes |
| 928 | if x is None and pkt is not None: |
| 929 | x = self.__findaddr(pkt) |
| 930 | return super(SourceIPField, self).i2m(pkt, x) |
| 931 | |
| 932 | def i2h(self, pkt, x): |
| 933 | # type: (Optional[Packet], Optional[Union[str, Net]]) -> str |
nothing calls this directly
no test coverage detected