e57d86c1ec
instead of int where the variable has to hold buffer lengths, use u_int for things like number of network interfaces which in principle can never be negative.