]> granicus.if.org Git - sysstat/commit
sar: Don't use IFNAMSIZ value from <net/if.h>
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 6 Feb 2021 08:11:08 +0000 (09:11 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 6 Feb 2021 08:11:08 +0000 (09:11 +0100)
commit7a78ce152f28e698bf3010cb3779351e238a0216
tree1f70ebac74d11233f3c737b19d4f2494aac54f10
parentf9bc451cfb775d975063b889407e3074cfa817fc
sar: Don't use IFNAMSIZ value from <net/if.h>

IFNAMSIZ value is used to set the maximum length of the network
interface name, and for the definition of structures used to save
data in the binary data files (saDD).
We cannot allow that a new kernel value for IFNAMSIZ changes the format
of saDD binary data files. So now use a constant value of 16 (which is
the present value of IFNAMSIZ).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
rd_stats.h