Send NAS-Port, NAS-IP and Calling/Called-Station-ID in Access-Request
[strongswan.git] / src / libradius / radius_client.c
index 1478c3d..d44c5a2 100644 (file)
@@ -81,13 +81,10 @@ static void save_state(private_radius_client_t *this, radius_message_t *msg)
 METHOD(radius_client_t, request, radius_message_t*,
        private_radius_client_t *this, radius_message_t *req)
 {
-       char virtual[] = {0x00,0x00,0x00,0x05};
        radius_socket_t *socket;
        radius_message_t *res;
        chunk_t data;
 
-       /* we add the "Virtual" NAS-Port-Type, as we SHOULD include one */
-       req->add(req, RAT_NAS_PORT_TYPE, chunk_create(virtual, sizeof(virtual)));
        /* add our NAS-Identifier */
        req->add(req, RAT_NAS_IDENTIFIER,
                         this->config->get_nas_identifier(this->config));