MCPcopy Create free account
hub / github.com/3proxy/3proxy / ipauth

Function ipauth

src/auth.c:744–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742
743
744int ipauth(struct clientparam * param){
745 int res;
746 unsigned char *username;
747 username = param->username;
748 param->username = NULL;
749 res = checkACL(param);
750 param->username = username;
751 return res;
752}
753
754int userauth(struct clientparam * param){
755 return (param->username)? 0:4;

Callers

nothing calls this directly

Calls 1

checkACLFunction · 0.85

Tested by

no test coverage detected