mirror_iproute2/misc
Ivan Vecera 6648853975 lib: make resolve_hosts variable common
Any iproute utility that uses any function from lib/utils.c needs
to declare its own resolve_hosts variable instance although it does
not need/use hostname resolving functionality (currently only 'ip'
and 'ss' commands uses this).
The patch declares single common instance of resolve_hosts directly
in utils.c so the existing ones can be removed (the same approach
that is used for timestamp_short).

Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2017-11-12 16:15:23 -08:00
..
.gitignore Add ignore files to make using git easier 2006-08-08 12:04:38 -07:00
arpd.c lib: make resolve_hosts variable common 2017-11-12 16:15:23 -08:00
ifstat.c ifstat, nstat: Check fdopen() return value 2017-08-24 14:49:43 -07:00
lnstat_util.c lnstat_util: Make sure buffer is NUL-terminated 2017-09-01 12:10:54 -07:00
lnstat.c Replace malloc && memset by calloc 2016-07-20 12:05:24 -07:00
lnstat.h iproute2: various header include fixes for compiling with musl libc 2014-05-28 16:51:39 -07:00
Makefile config: put CFLAGS/LDLIBS in config.mk 2017-08-23 10:03:09 -07:00
nstat.c ifstat, nstat: Check fdopen() return value 2017-08-24 14:49:43 -07:00
rtacct.c misc: fix style issues 2016-03-21 11:56:36 -07:00
ss.c lib: make resolve_hosts variable common 2017-11-12 16:15:23 -08:00
ssfilter.h ss: Support displaying and filtering on socket marks. 2016-09-22 16:34:40 -07:00
ssfilter.y ss: Support displaying and filtering on socket marks. 2016-09-22 16:34:40 -07:00