diff options
author | Matt Johnston <matt@ucc.asn.au> | 2022-04-01 14:13:52 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2022-04-01 14:13:52 +0800 |
commit | c8460ec9b7e34b9cfb22d25d762737a268d5bbf2 (patch) | |
tree | b86bb3596978407974ef859aebb9924ecd3e0ee3 /runopts.h | |
parent | 115c6deb58529f8354bc5937d296787c5439e3bb (diff) | |
download | dropbear-c8460ec9b7e34b9cfb22d25d762737a268d5bbf2.tar.gz |
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
Diffstat (limited to 'runopts.h')
-rw-r--r-- | runopts.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -198,5 +198,6 @@ void parse_ciphers_macs(void); 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_ */ |