We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16bfa5c commit 173a98eCopy full SHA for 173a98e
src/subnet
@@ -237,7 +237,7 @@ if (( ip_version == 4 )); then
237
if (( ip_prefix < 26 )); then
238
! $u &&
239
let -i ip_start=network_addr_int ip_end=broadcast_addr_int ||
240
- let -i ip_start=network_addr_int+1 ip_end=broadcast_addr_int+1
+ let -i ip_start=network_addr_int+1 ip_end=broadcast_addr_int-1
241
print_ipv4 "$ip_start" "$m" "$c"
242
! $q && ! $u && printf " $NETWORK_ADDR_TOKEN"
243
printf '%b' "$d"
0 commit comments