iptraf has a new name on centos 6
fix typo
refactor things for >2.7