aboutgitcodebugslistschat
path: root/test/tcp
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-09-02 16:49:23 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-09-02 17:07:45 +0200
commitbac7dfebe47b997de8876a8380ee0a1bbf97ab1f (patch)
treeaa340937439ed80d5226e29d90a6aeeb83329147 /test/tcp
parenta1c38ffe0a148da665074f049acf4197b3d9349c (diff)
downloadpasst-bac7dfebe47b997de8876a8380ee0a1bbf97ab1f.tar
passt-bac7dfebe47b997de8876a8380ee0a1bbf97ab1f.tar.gz
passt-bac7dfebe47b997de8876a8380ee0a1bbf97ab1f.tar.bz2
passt-bac7dfebe47b997de8876a8380ee0a1bbf97ab1f.tar.lz
passt-bac7dfebe47b997de8876a8380ee0a1bbf97ab1f.tar.xz
passt-bac7dfebe47b997de8876a8380ee0a1bbf97ab1f.tar.zst
passt-bac7dfebe47b997de8876a8380ee0a1bbf97ab1f.zip
conf: Fix getopt_long() optstring for current semantics of -D, -S, -p
Declaring them as required_argument in the longopts array specifies validation, but doesn't affect how optind is increased after parsing their values. Currently, passing one of these options as last option causes pasta to handle their own values as path to a binary to execute. Fixes: aae2a9bbf7d1 ("conf: Use "-D none" and "-S none" instead of missing empty option arguments") Fixes: bf95322fc1ef ("conf: Make the argument to --pcap option mandatory") Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp')
0 files changed, 0 insertions, 0 deletions