Don't print subnet prefix lengths and weights for one-host subnets.
authorEtienne Dechamps <etienne@edechamps.fr>
Sat, 5 Jul 2014 18:02:02 +0000 (19:02 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sat, 5 Jul 2014 19:00:50 +0000 (20:00 +0100)
This commit suppresses subnet prefix length output (/xx) for subnets
that only contain one address (/32 for IPv4, /128 for IPv6). It also
suppresses weight information if the subnet is using the default
weight. This improves readability of net2str() output in the majority
of cases.


No differences found