[Toybox] [PATCH] arp: some cleanup.

enh enh at google.com
Tue Sep 21 21:28:00 PDT 2021


Remove another get_line() caller, but also fix the basic "show ARP
table" behavior which was previously broken. Switch to xgetaddrinfo().
Fix failed search output to only display if we actually searched, and to
match net-tools arp 2.10 output. Also use FLAG() and clean up trailing
whitespace.
---
 toys/pending/arp.c | 146 ++++++++++++++++++++++-----------------------
 1 file changed, 70 insertions(+), 76 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210921/ba0163af/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-arp-some-cleanup.patch
Type: text/x-patch
Size: 9408 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210921/ba0163af/attachment-0001.bin>


More information about the Toybox mailing list