Actually nevermind, it explicitly supports a short format:
  /* a -- 32 bits */
  /* a.b -- 8.24 bits */
  /* a.b.c -- 8.8.16 bits */
  /* a.b.c.d -- 8.8.8.8 bits */
so
  $ echo 10.0.65280/24 | ./aggregate -q
  10.0.255.0/24
and calls it
      /*
       * Internet format:
       *      a.b.c.d
       *      a.b.c   (with c treated as 16 bits)
       *      a.b     (with b treated as 24 bits)
       */
naturally, the "Internet format" clashes with "CIDR".

But! this format is accepted universally, and it'd be a breaking change.

Attachment: signature.asc
Description: PGP signature

Reply via email to