add -m and -P
fix ip mask list bug