Skip to content

Commit

Permalink
client.py continue diag if not NAT records
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadims06 committed Nov 17, 2024
1 parent 0952b17 commit 80f567b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,7 @@ def diagnostic(self):
diag_watcher_host.does_conntrack_exist_for_gre()
# print(f"Please wait {diag_watcher_host.DUMP_FILTER_TIMEOUT} sec")
diag_watcher_host.run()
if not diagnostic.IPTABLES_NAT_FOR_REMOTE_NETWORK_DEVICE_UNIQUE.check(self.gre_tunnel_network_device_ip):
sys.exit()
diagnostic.IPTABLES_NAT_FOR_REMOTE_NETWORK_DEVICE_UNIQUE.check(self.gre_tunnel_network_device_ip)
if diag_watcher_host.is_watcher_alive:
diagnostic.IPTABLES_FRR_NETNS_FORWARD_TO_NETWORK_DEVICE_BEFORE_NAT.check(self.gre_tunnel_network_device_ip)
if diag_watcher_host.is_network_device_alive:
Expand Down

0 comments on commit 80f567b

Please sign in to comment.