Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: CSIT report gen for policer
[csit.git]
/
resources
/
traffic_scripts
/
ipsec.py
diff --git
a/resources/traffic_scripts/ipsec.py
b/resources/traffic_scripts/ipsec.py
index
ff869ed
..
13d44b8
100755
(executable)
--- a/
resources/traffic_scripts/ipsec.py
+++ b/
resources/traffic_scripts/ipsec.py
@@
-174,8
+174,6
@@
def main():
sent_packets = []
sent_packets = []
- ip_pkt = None
-
if is_ipv4:
ip_pkt = IP(src=src_ip, dst=dst_ip) / \
ICMP()
if is_ipv4:
ip_pkt = IP(src=src_ip, dst=dst_ip) / \
ICMP()
@@
-195,7
+193,7
@@
def main():
pkt_recv = rxq.recv(2, sent_packets)
if pkt_recv is None:
pkt_recv = rxq.recv(2, sent_packets)
if pkt_recv is None:
- raise RuntimeError('Rx timeout')
+ raise RuntimeError('
ESP packet
Rx timeout')
if is_ipv4:
check_ipv4(pkt_recv, src_tun, dst_ip, src_ip, sa_in)
if is_ipv4:
check_ipv4(pkt_recv, src_tun, dst_ip, src_ip, sa_in)