<div dir="ltr"><div>Hi Rob and List,</div><div><br></div><div>One bug reported as:</div><div><br></div><div>"arp -i <interface> -s <> <>" should set up a new entry to the table but its failing here.</div><div><div><br></div><div><div>$ sudo ./toybox arp -i eth0 -s 1.1.1.1 00:00:00:00:00:0e</div><div><b>arp: ioctl 8955: Network is unreachable</b></div></div><div><br></div><div><div>$ ./toybox arp -a</div><div>? (107.109.229.1) at 00:00:0c:07:ac:2a [ether] on eth0</div></div><div>DO-SP-PRADHAN09.local (107.109.229.9) at 50:b7:c3:a1:f6:66 [ether] on eth0<br></div><div><br></div><div><br></div><div>This small fix also includes clean up of an extra global variable.</div><div><br></div><div><b>After fix:</b></div><div><br></div><div>$ sudo ./toybox arp -i eth0 -s 1.1.1.1 00:00:00:00:00:0e</div><div>$ ./toybox arp -a</div><div>? (1.1.1.1) at 00:00:00:00:00:0e [ether] PERM on eth0</div><div>? (107.109.229.1) at 00:00:0c:07:ac:2a [ether] on eth0</div><div>DO-SP-PRADHAN09.local (107.109.229.9) at 50:b7:c3:a1:f6:66 [ether] on eth0</div><div>$ sudo ./toybox arp -i eth0 -d 1.1.1.1</div><div>$ ./toybox arp -a</div><div>? (107.109.229.1) at 00:00:0c:07:ac:2a [ether] on eth0</div><div>DO-SP-PRADHAN09.local (107.109.229.9) at 50:b7:c3:a1:f6:66 [ether] on eth0</div><div>$</div></div><div><br></div><div><br></div><div>Find the patch as attachment.</div><div>Please have a look,</div><div><br></div><div><br></div><div><br></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Thanks & Regards<br>Sameer Prakash Pradhan</div>
</div>