mirror_iproute2/bridge
Stephen Hemminger 6c6c0291d2 bridge: avoid snprint truncation on time
This fixes new gcc warning about possible string overflow.

mdb.c: In function ‘__print_router_port_stats’:
mdb.c:61:11: warning: ‘%.2i’ directive output may be truncated
 writing between 2 and 7 bytes into a region of size
 between 0 and 4 [-Wformat-truncation=]
      "%4i.%.2i", (int)tv.tv_sec,
           ^~~~
Note: already fixed in iproute2-next.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-03-29 08:30:27 -07:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
br_common.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
bridge.c SPDX license identifiers 2017-11-24 12:21:35 -08:00
fdb.c iplink: Use ll_name_to_index() instead of if_nametoindex() 2018-01-23 14:50:59 -08:00
link.c iplink: Use ll_index_to_name() instead of if_indextoname() 2018-01-18 16:34:37 -08:00
Makefile SPDX license identifiers 2017-11-24 12:21:35 -08:00
mdb.c bridge: avoid snprint truncation on time 2018-03-29 08:30:27 -07:00
monitor.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
vlan.c iplink: Use ll_name_to_index() instead of if_nametoindex() 2018-01-23 14:50:59 -08:00