diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2019-05-26 21:41:24 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2019-05-26 21:41:33 +0200 |
commit | 944df748445e616b8055d0d718fd09747db70632 (patch) | |
tree | 5f18220cfdcc44f55c6008e47a8a23660e0917e6 /libgphoto2_port/ptpip/ptpip.c | |
parent | d0bf512fd9f4a12b85184e38880b3380e7a9624a (diff) | |
download | libgphoto2-944df748445e616b8055d0d718fd09747db70632.tar.gz |
initial lumix build
https://github.com/gphoto/libgphoto2/issues/409
Diffstat (limited to 'libgphoto2_port/ptpip/ptpip.c')
-rw-r--r-- | libgphoto2_port/ptpip/ptpip.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgphoto2_port/ptpip/ptpip.c b/libgphoto2_port/ptpip/ptpip.c index 3b60d8a37..225419a9d 100644 --- a/libgphoto2_port/ptpip/ptpip.c +++ b/libgphoto2_port/ptpip/ptpip.c @@ -185,6 +185,18 @@ gp_port_library_list (GPPortInfoList *list) gp_port_info_set_path (info, "^ptpip:"); gp_port_info_list_append (list, info); /* do not check return */ + gp_port_info_new (&info); + gp_port_info_set_type (info, GP_PORT_TCP); + gp_port_info_set_name (info, _("TCP Connection")); + gp_port_info_set_path (info, "tcp:"); + CHECK (gp_port_info_list_append (list, info)); + + /* Generic matcher so you can pass any IP address */ + gp_port_info_new (&info); + gp_port_info_set_type (info, GP_PORT_TCP); + gp_port_info_set_name (info, ""); + gp_port_info_set_path (info, "^tcp:"); + gp_port_info_list_append (list, info); /* do not check return */ #ifdef HAVE_MDNS_BONJOUR ret = DNSServiceBrowse ( &sd, |