proc arch: x86_64
CPU modes: 32-bit, 64-bit
I try to get packet from interface but when I call next() I get an error(
thread 'XXX' panicked at 'index out of bounds: the len is 16 but the index is 22', /home/XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.147/src/unix/linux_like/mod.rs:1582:9
stack backtrace:
0: rust_begin_unwind
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:579:5
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:64:14
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:159:5
3: libc::unix::linux_like::FD_SET
at /home/oleh/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.147/src/unix/linux_like/mod.rs:1582:9
4: <pnet_datalink::backend::DataLinkReceiverImpl as pnet_datalink::DataLinkReceiver>::next
at /home/oleh/.cargo/registry/src/github.com-1ecc6299db9ec823/pnet_datalink-0.34.0/src/linux.rs:342:13
proc arch: x86_64
CPU modes: 32-bit, 64-bit
I try to get packet from interface but when I call next() I get an error(