diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-10-27 11:43:17 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-10-27 11:43:45 +0300 |
commit | 6cf5aa4153da4874a22af51f96d0029f73979460 (patch) | |
tree | 689f72075d0cd921231ae9325d371dd5161358b2 /scripts/external_libs/scapy-2.3.1/python3/scapy/fields.py | |
parent | 1782ef7a71c3e031fc5d1343c27ed2c8e45fd4ad (diff) |
fix scapy_service ARP issue and add more layers in the service
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'scripts/external_libs/scapy-2.3.1/python3/scapy/fields.py')
-rw-r--r-- | scripts/external_libs/scapy-2.3.1/python3/scapy/fields.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/external_libs/scapy-2.3.1/python3/scapy/fields.py b/scripts/external_libs/scapy-2.3.1/python3/scapy/fields.py index 5482ce87..66ccd552 100644 --- a/scripts/external_libs/scapy-2.3.1/python3/scapy/fields.py +++ b/scripts/external_libs/scapy-2.3.1/python3/scapy/fields.py @@ -250,9 +250,7 @@ class SourceIPField(IPField): self.dstname = dstname def i2m(self, pkt, x): if x is None: - iff,x,gw = pkt.route() - if x is None: - x = "0.0.0.0" + x="16.0.0.1" return IPField.i2m(self, pkt, x) def i2h(self, pkt, x): if x is None: |