MCPcopy Index your code
hub / github.com/secdev/scapy / _fix

Method _fix

scapy/volatile.py:607–609  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

605 return "iptemplate=%r" % rep
606
607 def _fix(self):
608 # type: () -> str
609 return self.ip.choice()
610
611
612class RandMAC(_RandString[str]):

Callers 15

__eq__Method · 0.45
__int__Method · 0.45
__nonzero__Method · 0.45
__add__Method · 0.45
__radd__Method · 0.45
__sub__Method · 0.45
__rsub__Method · 0.45
__mul__Method · 0.45
__rmul__Method · 0.45
__floordiv__Method · 0.45
__lt__Method · 0.45
__le__Method · 0.45

Calls 1

choiceMethod · 0.80

Tested by

no test coverage detected