allow ssh-keyscan(1) to accept CIDR address ranges, e.g.
authordjm <djm@openbsd.org>
Fri, 28 Oct 2022 02:29:34 +0000 (02:29 +0000)
committerdjm <djm@openbsd.org>
Fri, 28 Oct 2022 02:29:34 +0000 (02:29 +0000)
commitba77ede935ace61278da5c3474c6951e0a606318
tree937e10fec3e49a47265887d98e41d76cc6eef8f3
parenta2c931d988e31395022f1322d85edf6de1b6b1db
allow ssh-keyscan(1) to accept CIDR address ranges, e.g.
ssh-keyscan 192.168.0.0/24

If a CIDR range is passed, then it will be expanded to all possible
addresses in the range including the all-0s and all-1s addresses.

bz#976 feedback/ok markus@
usr.bin/ssh/addr.c
usr.bin/ssh/addr.h
usr.bin/ssh/ssh-keyscan.1
usr.bin/ssh/ssh-keyscan.c