ip2cidr

Small and simple program for converting a netmask into a CIDR
git clone git://git.noxz.tech/ip2cidr
Log | Files | Refs | README | LICENSE

commit afc818d8231684cc9182fd7fecc06fc923f91a18
parent 16de197bbe8cc4a2b370507a7b494879612d20c8
Author: z0noxz <chris@noxz.tech>
Date:   Wed,  8 Aug 2018 20:51:32 +0200

Update comments

Diffstat:
MREADME.md | 2+-
Mip2cidr.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -11,7 +11,7 @@ install (if necessary as root): make clean install -Usage example of ip2cidr +Example usage of ip2cidr ------------------------ Allow user to enter a subnet mask as either a CIDR or as an ip address: diff --git a/ip2cidr.c b/ip2cidr.c @@ -21,7 +21,7 @@ #include <unistd.h> #include "ip2cidr.h" -/* HAKMEM bit counter */ +/* HAKMEM bit counter (item 169) */ int bit_count(unsigned int u) { unsigned int u_count;