Author: mjmartin Date: Thu Dec 25 06:43:32 2008 New Revision: 38346
URL: http://svn.reactos.org/svn/reactos?rev=38346&view=rev Log: - ipv4addrs should search for decimals not spaces when calling strtok. See bug 3962 for more info.
Modified: trunk/reactos/base/services/dhcp/dhclient.c
Modified: trunk/reactos/base/services/dhcp/dhclient.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/dhcp/dhclient... ============================================================================== --- trunk/reactos/base/services/dhcp/dhclient.c [iso-8859-1] (original) +++ trunk/reactos/base/services/dhcp/dhclient.c [iso-8859-1] Thu Dec 25 06:43:32 2008 @@ -2056,7 +2056,7 @@ note("Input: %s", buf);
do { - tmp = strtok(buf, " "); + tmp = strtok(buf, "."); note("got %s", tmp); if( tmp && inet_aton(tmp, &jnk) ) i++; buf = NULL;