if getattr(self.args, 'show_address_results', False):
self.show_address_results = True
+ self.limit = getattr(self.args, 'limit', self.default_limit)
+
if self.args.logfiles:
self._eval_given_logfiles()
else:
lh_out = ''
count = self.per_address[loghost][address]
+ if count < self.limit:
+ break
+
print(template.format(h=lh_out, a=address, c=count))
first = False
lh_out = ''
count = self.per_domain[loghost][domain]
+ if count < self.limit:
+ break
+
print(template.format(h=lh_out, d=domain, c=count))
first = False