Description: Converts a short netmask (e.g. 24 for 255.255.255.0) into the decimal notation.
Parameter:
- : nm: The netmask to convert. If a netmask in decimal notation is given, no conversation is done.
Returns:
- Netmask in decimal notation.
root
2015-09-06