1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

merge from 2.2

(This used to be commit 79f4c4ad74)
This commit is contained in:
Gerald Carter
2001-04-19 23:13:38 +00:00
parent fac561cedc
commit 0fc676c335

View File

@ -262,11 +262,11 @@ static BOOL only_ipaddrs_in_list(const char* list)
{
char *p;
/*
* if we failed, make surethat it was not because the token
* if we failed, make sure that it was not because the token
* was a network/netmask pair. Only network/netmask pairs
* have a '/' in them
*/
if ((p=strtok(tok, "/")) == NULL)
if ((p=strchr(tok, '/')) == NULL)
{
only_ip = False;
DEBUG(3,("only_ipaddrs_in_list: list [%s] has non-ip address %s\n", list, p));