Eugene Grosbein 1a498d2e68 bsnmpd(8): fix and optimize interface description processing
* correctly prepare a buffer to obtain interface description from a kernel and
  truncate long description instead of dropping it altogether and
  spamming logs;
* skip calling strlen() for each description and each SNMP request
  for MIB-II/ifXTable's ifAlias.
* teach bsnmpd to allocate memory dynamically for interface descriptions
  to decrease memory usage for common case and not to break
  if long description occurs;

PR:			217763
Reviewed by:		harti and others
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D16459
2018-08-18 10:58:44 +00:00
..
2018-05-19 00:26:00 +00:00
2017-05-31 19:37:23 +00:00
2018-08-08 01:33:36 +00:00
2018-05-12 12:00:18 +00:00
2018-02-19 05:10:22 +00:00
2018-08-14 11:42:32 +00:00
2018-05-31 09:11:21 +00:00
2018-05-23 01:20:31 +00:00
2018-08-14 18:58:01 +00:00
2018-01-28 03:16:54 +00:00
2017-06-28 09:22:45 +00:00
2018-05-08 04:52:52 +00:00
2018-05-29 10:29:04 +00:00
2018-05-04 10:17:27 +00:00
2018-08-14 20:24:10 +00:00
2018-05-18 06:10:16 +00:00
2017-09-10 01:25:15 +00:00