packages: sort network related packages into package/network/
[openwrt.git] / package / network / services / 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 */