mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
@ -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));
|
||||
|
Reference in New Issue
Block a user