<div dir="ltr">Avoid fgets() into toybuf other than to skip header lines, preferring<br>fscanf() or xgetline() instead.<br><br>Remove the early returns if we fail to skip a header line (fixes #62).<br><br>Fix `netstat -xl` which was previously broken (because only -a would<br>include listening sockets).<br><br>Fix a variety of formatting issues, bringing the diff between toybox<br>netstat and net-tools netstat down (which was what I used for testing).<br><br>Use FLAG() more consistently.<br>---<br> toys/net/netstat.c | 143 ++++++++++++++++++++-------------------------<br> 1 file changed, 62 insertions(+), 81 deletions(-)<br></div>