removed bogus check, as pointed out by Alan Curry.
authoraland <aland>
Wed, 2 Feb 2000 14:55:50 +0000 (14:55 +0000)
committeraland <aland>
Wed, 2 Feb 2000 14:55:50 +0000 (14:55 +0000)
src/main/radiusd.c

index ab92eb8..74cfbf1 100644 (file)
@@ -662,18 +662,6 @@ int rad_process(REQUEST *request)
                }
                
                /*
-                *      Assert that the requests have a value User-Name
-                *      attribute.
-                */
-               if (request->username == NULL) {
-                       log(L_ERR, "No username: [] (from nas %s)",
-                           nas_name2(request->packet));
-                       request_free(request);
-                       return -1;
-                       break;
-               }
-
-               /*
                 *      We always call proxy_send, it returns non-zero
                 *      if it did actually proxy the request.
                 */