mirror of https://github.com/OISF/suricata
capture/napatech: 0-pad thread names
Apply zero-padding to Napatech worker threads so alphanumeric sorting displays workers in proper order. Set padding for thread names according to stream count: 1-9 streams: no padding, e.g, nt1, nt9 10-99 streams: use padding, e.g, nt01, nt99 100-999 streams: use padding, e.g, nt001, nt099, nt999 This will insure that thread names, when sorted alphanumerically, maintain thread worker id order. Issue: 8337pull/15091/head
parent
e7dc0d885b
commit
448915fb55
Loading…
Reference in New Issue