+ if ifconfig "$iface_" | grep -qi 'Mask:' ; then # old ifconfig output:
+ nm_=$(ifconfig "$iface_" | awk '/[Mm]ask/{FS="[: ]*"; $0=$0; print $8; exit}')
+ else # new ifconfig output (net-tools >1.60-27):
+ nm_=$(ifconfig "$iface_" | awk '/netmask/{print $4}')
+ fi