Fix: netstat -rs
Routing statistics requires somes symbols that are only loaded when not running live. Load them only in that specific case PR: 242423 Submitted by: olivier MFC after: 3 days
This commit is contained in:
parent
1bf6738f80
commit
2ccdd4b39d
@ -484,6 +484,9 @@ main(int argc, char *argv[])
|
||||
if (rflag) {
|
||||
xo_open_container("statistics");
|
||||
if (sflag) {
|
||||
if (live) {
|
||||
kresolve_list(nl);
|
||||
}
|
||||
rt_stats();
|
||||
} else
|
||||
routepr(fib, af);
|
||||
|
Loading…
Reference in New Issue
Block a user