Open GoogleCodeExporter opened 8 years ago
Please find the tap0 interface details:
tap0 Link encap:Ethernet HWaddr 00:11:00:00:00:11
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:ff:fe00:11/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1738 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:177244 (173.0 KiB) TX bytes:5616 (5.4 KiB)
Original comment by Arpitg...@gmail.com
on 22 Sep 2011 at 5:37
The problem is fixed in case the
setsockopt(rawSock,SOL_SOCKET,SO_BINDTODEVICE,&ifs[tapIdx],sizeof(struct ifreq))
is used.
Original comment by Arpitg...@gmail.com
on 21 Feb 2012 at 2:40
Original issue reported on code.google.com by
Arpitg...@gmail.com
on 22 Sep 2011 at 2:53