Skip to content
Snippets Groups Projects
Commit 2b0b84c9 authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

log

parent e8a33796
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,8 @@ def check_local_packet(pkt):
# print(f"Custom Option from DECISION found: id = {entry['node_id']}, inter = {entry['inter_num']}, cmd = {entry['cmd']}")
print("Decision found, blocking:", socket.inet_ntoa(entry['addition_info']))
FirewallOpportunistic.firewall_queue.put((entry['inter_num'], socket.inet_ntoa(entry['addition_info']), entry['cmd']))
else:
print("Decision found for:", entry["node_id"], "not for me:", if_utils.my_id)
# else:
# print("Decision found for:", entry["node_id"], "not for me:", if_utils.my_id)
def process_opportunistic_node():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment