X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=GPL%2Ftraffic_scripts%2Fsend_ip_check_headers.py;fp=resources%2Ftraffic_scripts%2Fsend_ip_check_headers.py;h=ff43563025303792a19d2e927b1dbd65a4d773a9;hp=f5a55553cf46f9721400ad691ccf665b8b433e9c;hb=79f5ba9bf7656972dd988508eff9465562dde42c;hpb=16ef90a2415aa3b65341fdb6517cf58721bfff7a diff --git a/resources/traffic_scripts/send_ip_check_headers.py b/GPL/traffic_scripts/send_ip_check_headers.py old mode 100755 new mode 100644 similarity index 96% rename from resources/traffic_scripts/send_ip_check_headers.py rename to GPL/traffic_scripts/send_ip_check_headers.py index f5a55553cf..ff43563025 --- a/resources/traffic_scripts/send_ip_check_headers.py +++ b/GPL/traffic_scripts/send_ip_check_headers.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -28,8 +28,8 @@ from scapy.layers.inet6 import IPv6, ICMPv6ND_NS from scapy.layers.l2 import Ether, Dot1Q from scapy.packet import Raw -from resources.libraries.python.PacketVerifier import RxQueue, TxQueue -from resources.libraries.python.TrafficScriptArg import TrafficScriptArg +from .PacketVerifier import RxQueue, TxQueue +from .TrafficScriptArg import TrafficScriptArg def valid_ipv4(ip):