[package] add support for DS2482 1-Wire I2C bus master
[openwrt.git] / package / dropbear / patches / 300-ipv6_addr_port_split.patch
1 --- a/svr-runopts.c
2 +++ b/svr-runopts.c
3 @@ -325,7 +325,7 @@ static void addportandaddress(char* spec
4 myspec = m_strdup(spec);
5
6 /* search for ':', that separates address and port */
7 - svr_opts.ports[svr_opts.portcount] = strchr(myspec, ':');
8 + svr_opts.ports[svr_opts.portcount] = strrchr(myspec, ':');
9
10 if (svr_opts.ports[svr_opts.portcount] == NULL) {
11 /* no ':' -> the whole string specifies just a port */
This page took 0.047457 seconds and 5 git commands to generate.