Add SKB flag to help output.

This commit is contained in:
gamemann
2021-11-12 17:22:19 +00:00
parent a521cc1f6f
commit becaeb4b34

View File

@@ -241,6 +241,7 @@ int main(int argc, char *argv[])
fprintf(stdout, "Usage:\n" \ fprintf(stdout, "Usage:\n" \
"--config -c => Config file location (default is /etc/xdpfw/xdpfw.conf).\n" \ "--config -c => Config file location (default is /etc/xdpfw/xdpfw.conf).\n" \
"--offload -o => Tries to load the XDP program in hardware/offload mode." \ "--offload -o => Tries to load the XDP program in hardware/offload mode." \
"--skb -s => Force the XDP program to load with SKB mode instead of DRV." \
"--list -l => Print config details including filters (this will exit program after done).\n" \ "--list -l => Print config details including filters (this will exit program after done).\n" \
"--help -h => Print help menu.\n"); "--help -h => Print help menu.\n");