accept * for all addresses allowed
This commit is contained in:
parent
2d02528330
commit
6c5f63d017
|
@ -1079,7 +1079,12 @@ int auth_ip_addr(int unit,u_int32_t addr)
|
|||
if (strcmp(ptr_word, "-") == 0)
|
||||
break;
|
||||
|
||||
/* "*" means any addresses authorized */
|
||||
if (strcmp(ptr_word, "*") == 0)
|
||||
return 1;
|
||||
|
||||
accept = 1;
|
||||
|
||||
if (*ptr_word == '!') {
|
||||
accept = 0;
|
||||
++ptr_word;
|
||||
|
|
Loading…
Reference in New Issue