diff runopts.h @ 1936:4528afefe45d

Fix IPv6 address parsing for dbclient -b Now can correctly handle '-b [ipv6address]:port' Code is shared with dropbear -p, though they handle colon-less arguments differently
author Matt Johnston <matt@ucc.asn.au>
date Fri, 01 Apr 2022 14:13:52 +0800
parents bfd0f3248df3
children
line wrap: on
line diff
--- a/runopts.h	Fri Apr 01 12:17:02 2022 +0800
+++ b/runopts.h	Fri Apr 01 14:13:52 2022 +0800
@@ -198,5 +198,6 @@
 
 void print_version(void);
 void parse_recv_window(const char* recv_window_arg);
+int split_address_port(const char* spec, char **first, char ** second);
 
 #endif /* DROPBEAR_RUNOPTS_H_ */