extcap: Fix version request
authorRoland Knall <roland.knall@br-automation.com>
Fri, 6 Apr 2018 09:37:16 +0000 (11:37 +0200)
committerRoland Knall <rknall@gmail.com>
Fri, 6 Apr 2018 10:41:53 +0000 (10:41 +0000)
commit485cec5bdfc90d968b0970e657cf24435e22fe25
tree7fa35a73fcb0d3fc101c81b136be39cc6184f5a7
parent024f75fb3e6576fe51fcc046932d876931d6beb8
extcap: Fix version request

The original implementation lead to multiple extcap interfaces
being loaded, as well as an error output from the default example.

This fixes both

Change-Id: Icb6fbda7bcb11ed0d14cb683ddcdabdc20a7070d
Reviewed-on: https://code.wireshark.org/review/26773
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
doc/extcap_example.py
extcap.c