diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2019-07-01 08:34:33 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2019-07-01 08:34:33 +0200 |
commit | b331c5aeafa41bf16c28e616cbea5ed67b4a9f69 (patch) | |
tree | 229ff25a6273adab0e6142a6a0a792a3c47ea0f0 /libgphoto2_port/ptpip | |
parent | 8f929c5bdc2f8243e54b738f722dd23bd36da837 (diff) | |
download | libgphoto2-b331c5aeafa41bf16c28e616cbea5ed67b4a9f69.tar.gz |
rename GP_PORT_TCP -> GP_PORT_IP
as we just use it specify an IP, regardless of what the driver does
Diffstat (limited to 'libgphoto2_port/ptpip')
-rw-r--r-- | libgphoto2_port/ptpip/ptpip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libgphoto2_port/ptpip/ptpip.c b/libgphoto2_port/ptpip/ptpip.c index 225419a9d..20947d805 100644 --- a/libgphoto2_port/ptpip/ptpip.c +++ b/libgphoto2_port/ptpip/ptpip.c @@ -186,16 +186,16 @@ gp_port_library_list (GPPortInfoList *list) 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:"); + gp_port_info_set_type (info, GP_PORT_IP); + gp_port_info_set_name (info, _("IP Connection")); + gp_port_info_set_path (info, "ip:"); 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_type (info, GP_PORT_IP); gp_port_info_set_name (info, ""); - gp_port_info_set_path (info, "^tcp:"); + gp_port_info_set_path (info, "^ip:"); gp_port_info_list_append (list, info); /* do not check return */ #ifdef HAVE_MDNS_BONJOUR ret = DNSServiceBrowse ( |