Wireshark-commits: [Wireshark-commits] master fc2f318: Fix handling of extcap boolflags which defau
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fc2f31810a6096909c8f81f9f74659edbec7a55b
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
fc2f318 by Tomasz Moń (desowin@xxxxxxxxx):
Fix handling of extcap boolflags which defaults to true.
Example:
arg {number=0}{call=--test}{type=boolflag}{default=true}
Before this change --test was never added to argument list (no matter if
user left it selected or explicitly deselected it).
After this change --test will be added to argument list unless user
explicitly deselects it.
Change-Id: Ia5bc11f900b03e630aba882ef918dcb7f0b79291
Reviewed-on: https://code.wireshark.org/review/4618
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Tested-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Actions performed:
from 1b8b2a8 Add editor modelines; Adjust whitespace as needed.
adds fc2f318 Fix handling of extcap boolflags which defaults to true.
Summary of changes:
extcap.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++-
ui/gtk/extcap_gtk.c | 11 ++++++---
2 files changed, 71 insertions(+), 4 deletions(-)