-
Klaus Aehlig authored
"gnt-network info" also provides information about the mapping of used IPs in that network. This mapping is obtained from the query as a long string without any spaces. It seems that textwrap.wrap does not perform well on those strings. Therefore, manually wrap that string, thus bringing down the time "gnt-network info" takes for a /16 from 1.5 minutes to half a second. Fixes issue 1016. Signed-off-by: Klaus Aehlig <aehlig@google.com> Reviewed-by: Helga Velroyen <helgav@google.com>
40f3aa6f