X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=GPL%2Ftraffic_scripts%2Fgeneve_tunnel.py;h=3dd40b6a3a291c1980cb1f3a950cbf2ada40810d;hp=4cd728b575c8463a7b1d5526bfb55c064bf31d88;hb=d7a3262b58c86868a18c29244f29196203e1eb39;hpb=a9f54ca5080aeef17686f300a6807bf9b46b7c90 diff --git a/GPL/traffic_scripts/geneve_tunnel.py b/GPL/traffic_scripts/geneve_tunnel.py index 4cd728b575..3dd40b6a3a 100644 --- a/GPL/traffic_scripts/geneve_tunnel.py +++ b/GPL/traffic_scripts/geneve_tunnel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) 2020 Cisco and/or its affiliates. +# Copyright (c) 2021 Cisco and/or its affiliates. # # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later # @@ -286,8 +286,8 @@ def main(): check_geneve( rx_pkt_recv, ip_layer, rx_src_mac, rx_dst_mac, geneve_tunnel_mac, - rx_src_mac, tun_local_ip, tun_remote_ip, str(src_ip), str(dst_ip), - geneve_udp_dport, tun_vni + rx_dst_mac, tun_local_ip, tun_remote_ip, str(src_ip), str(dst_ip), + geneve_udp_dport, int(tun_vni) ) rx_inner_ip_pkt = IP(