summaryrefslogtreecommitdiff
path: root/ip/iprule.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-12-21 22:53:35 -0800
committerStephen Hemminger <stephen@networkplumber.org>2018-12-31 21:45:53 -0800
commit72cdb77d1a31afde5eb998eefe596db5d48d72cd (patch)
tree3d3a438f50df75666397a573aea597acdc196ab4 /ip/iprule.c
parent261a5290dd24ffeb3535ce135832690cfd85ba2d (diff)
nstat: fix load_ugly_table() limits
A recent change reduced max line length from 4096 to 2048 bytes, but we already have lines above the 2048 threshold, and we keep adding more SNMP counters in linux. Switch to getline() and do not worry about future kernel changes. Fixes: da8034a01904 ("misc: avoid snprintf warnings in ss and nstat") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'ip/iprule.c')
0 files changed, 0 insertions, 0 deletions