Update default value for best_netmask

When best_netmask is set to INT_MAX the netmask and broadcast
address is calculated incorrectly.

Closes: #380