let the code run properly when /proc/net/netstat doesn't exist