fixed optional input
Merge branch 'test' of https://github.com/kraigu/snort_report into test