Skip to content

Commit

Permalink
Fix for this TypeError
Browse files Browse the repository at this point in the history
TypeError: 'module' object is not callable error happening because of call to pcap_to_ditg.
  • Loading branch information
prabodh1194 committed Feb 9, 2017
1 parent f3e1d00 commit 82911b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def getArgParser():
'orig_ports': args.orig_ports,
}

pToD = pcap_to_ditg(
pToD = pcap_to_ditg.pcap_to_ditg(
args.pcap_file, # Pcap file to read
args.mapper_file, # File with mapping of IPs to topology hosts
args.list_file, # File with list of IPs
Expand Down

0 comments on commit 82911b4

Please sign in to comment.