fn: sgnd_validate_cidr
Purpose
Validate a CIDR prefix length, not a network address.
Arguments
$1— Prefix length in decimal notation.
Returns
- 0 for a number from 0 to 32; 1 otherwise.
Usage
sgnd_validate_cidr 24

fn: sgnd_validate_cidr
Validate a CIDR prefix length, not a network address.
$1 — Prefix length in decimal notation. sgnd_validate_cidr 24