mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-10 22:41:51 +02:00
remove debug print statements
This commit is contained in:
@@ -30,8 +30,6 @@ class state():
|
|||||||
|
|
||||||
def parse_line(entry):
|
def parse_line(entry):
|
||||||
parsed_line = entry.split()
|
parsed_line = entry.split()
|
||||||
print(parsed_line)
|
|
||||||
|
|
||||||
output_line = {}
|
output_line = {}
|
||||||
|
|
||||||
output_line['local_address'] = parsed_line[3].rsplit(':', 1)[0]
|
output_line['local_address'] = parsed_line[3].rsplit(':', 1)[0]
|
||||||
@@ -102,12 +100,6 @@ def parse(data):
|
|||||||
else:
|
else:
|
||||||
state.network = 'ipv4'
|
state.network = 'ipv4'
|
||||||
|
|
||||||
print(line)
|
|
||||||
print(f'section: {state.section}')
|
|
||||||
print(f'session: {state.session}')
|
|
||||||
print(f'network: {state.network}')
|
|
||||||
print()
|
|
||||||
|
|
||||||
if state.section == 'client' and state.session == 'tcp' and state.network == 'ipv4':
|
if state.section == 'client' and state.session == 'tcp' and state.network == 'ipv4':
|
||||||
state.client_tcp_ip4.append(parse_line(line))
|
state.client_tcp_ip4.append(parse_line(line))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user