Closed GoelDeepak closed 7 years ago
If the index number is such that it is beyond 1 byte then packet:ifindex will return wrong number. This is happening because of a bug in the code: {ok, <<Ifname:16/bytes, Ifr:8, /binary>>} = procket:ioctl(Socket, ....).
Fixed in https://github.com/msantos/procket/pull/35
If the index number is such that it is beyond 1 byte then packet:ifindex will return wrong number. This is happening because of a bug in the code: {ok, <<Ifname:16/bytes, Ifr:8, /binary>>} = procket:ioctl(Socket, ....).