summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2019-06-27 14:48:03 +0200
committerMarcus Meissner <marcus@jet.franken.de>2019-06-27 14:48:03 +0200
commit577cfbea1efffafed29de299d5012b3d403efd60 (patch)
treeae4c27b844819d9fe4cf6ec208970d029ebd9b74
parenteb57375a571595510b58b02ab33019366442ad42 (diff)
downloadlibgphoto2-577cfbea1efffafed29de299d5012b3d403efd60.tar.gz
port TCP is also valid
-rw-r--r--libgphoto2_port/test/test-port-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgphoto2_port/test/test-port-list.c b/libgphoto2_port/test/test-port-list.c
index 35dd0bbdc..10c3ecdd0 100644
--- a/libgphoto2_port/test/test-port-list.c
+++ b/libgphoto2_port/test/test-port-list.c
@@ -107,6 +107,7 @@ run_test ()
case GP_PORT_USB_SCSI: port_type_str = "USBSCSI"; break;
case GP_PORT_DISK: port_type_str = "DISK"; break;
case GP_PORT_PTPIP: port_type_str = "PTPIP"; break;
+ case GP_PORT_TCP: port_type_str = "TCP"; break;
default: port_type_str = "UNKNOWN"; return 3; break;
}
printf ("No: %d\n"