mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
The attach mode is by default set to XDP_MODE_NATIVE and needs to be overwritten to XDP_MODE_SKB when '-S' option is used. Instead of overwriting the attach mode was ORed and so was always running in NATIVE mode. This patch fixes that. Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@intel.com>
52 KiB
52 KiB