Hi Rob and List, One bug reported as:
"arp -i <interface> -s <> <>" should set up a new entry to the table but its failing here. $ sudo ./toybox arp -i eth0 -s 1.1.1.1 00:00:00:00:00:0e *arp: ioctl 8955: Network is unreachable* $ ./toybox arp -a ? (107.109.229.1) at 00:00:0c:07:ac:2a [ether] on eth0 DO-SP-PRADHAN09.local (107.109.229.9) at 50:b7:c3:a1:f6:66 [ether] on eth0 This small fix also includes clean up of an extra global variable. *After fix:* $ sudo ./toybox arp -i eth0 -s 1.1.1.1 00:00:00:00:00:0e $ ./toybox arp -a ? (1.1.1.1) at 00:00:00:00:00:0e [ether] PERM on eth0 ? (107.109.229.1) at 00:00:0c:07:ac:2a [ether] on eth0 DO-SP-PRADHAN09.local (107.109.229.9) at 50:b7:c3:a1:f6:66 [ether] on eth0 $ sudo ./toybox arp -i eth0 -d 1.1.1.1 $ ./toybox arp -a ? (107.109.229.1) at 00:00:0c:07:ac:2a [ether] on eth0 DO-SP-PRADHAN09.local (107.109.229.9) at 50:b7:c3:a1:f6:66 [ether] on eth0 $ Find the patch as attachment. Please have a look, -- Thanks & Regards Sameer Prakash Pradhan
arp.c.patch
Description: Binary data
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
