mmaraya / port-mirroring

OpenWrt package for copying network packets without iptables
BSD 2-Clause "Simplified" License
103 stars 32 forks source link

Minimize the use of nested if statements #48

Open mmaraya opened 8 years ago

mmaraya commented 8 years ago

Deeply nested conditionals are difficult to read, understand, and maintain. Simplify code where possible.