]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
samples/bpf: xdp_monitor, accept short options
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Mon, 14 May 2018 08:29:15 +0000 (17:29 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 14 May 2018 21:41:59 +0000 (23:41 +0200)
commit53ea24c20cea32b1dc70673402b496c4a5291d2d
tree07298680244a2c50bf57d51f58bf3c303dc4276b
parent1772be37fc9d2775ae48c8b3bc34f1899effb7b3
samples/bpf: xdp_monitor, accept short options

Updated optstring parameter for getopt_long() to accept short options.
Also updated usage() function.

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/xdp_monitor_user.c