]> git.ipfire.org Git - thirdparty/lldpd.git/commit
client: parse options only once
authorVincent Bernat <vincent@bernat.im>
Sat, 8 Aug 2015 17:01:17 +0000 (19:01 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 8 Aug 2015 17:01:17 +0000 (19:01 +0200)
commit2b00cbf9d548c8b53735c3dbbf72715c381bf32f
tree2ba567cddd6886dc43dcad21cd1ae282380edeec
parent506526477e8bf403a35c5230dbf51fbc862d255e
client: parse options only once

getopt() will parse them in order. If a user specifies `-d` after `-c`,
they will be ignored but this seems like a corner case.
src/client/lldpcli.c