source: branches/backfire/package/dropbear/patches/300-ipv6_addr_port_split.patch @ 27844

Last change on this file since 27844 was 27844, checked in by jow, 5 years ago

[backfire] merge r27843

File size: 425 bytes
  • svr-runopts.c

    a b static void addportandaddress(char* spec 
    325325                myspec = m_strdup(spec); 
    326326 
    327327                /* search for ':', that separates address and port */ 
    328                 svr_opts.ports[svr_opts.portcount] = strchr(myspec, ':'); 
     328                svr_opts.ports[svr_opts.portcount] = strrchr(myspec, ':'); 
    329329 
    330330                if (svr_opts.ports[svr_opts.portcount] == NULL) { 
    331331                        /* no ':' -> the whole string specifies just a port */ 
Note: See TracBrowser for help on using the repository browser.