dns2snort
dns2snort copied to clipboard
Removed if/else blocks and 4 segment limit.
Hi,
I was messing around today and refactored the if/else blocks into a for loop that removes the 4 segment limitation. Also ran it through a formatter just for readability. I did change some variable names while writing the loop, it helped my understanding of what was happening.