Skip to content

Commit

Permalink
docs: make consistent with other examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bschaatsbergen committed Jun 29, 2024
1 parent ade347f commit f5e809c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ true
### CIDR division

To divide a CIDR range into N distinct networks:
## IPV4

```
$ cidr divide 10.0.0.0/16 9
10.0.0.0/20
Expand All @@ -113,7 +113,8 @@ $ cidr divide 10.0.0.0/16 9
10.0.128.0/20
```

## IPV6
This also works with IPv6 CIDR ranges, for example:

```
$ cidr divide 2001:db8:1111:2222:1::/80 9
2001:db8:1111:2222:1::/84
Expand All @@ -125,10 +126,8 @@ $ cidr divide 2001:db8:1111:2222:1::/80 9
2001:db8:1111:2222:1:6000::/84
2001:db8:1111:2222:1:7000::/84
2001:db8:1111:2222:1:8000::/84
```

```
## Contributing

Contributions are highly appreciated and always welcome.
Expand Down

0 comments on commit f5e809c

Please sign in to comment.