CakeFest 2024: The Official CakePHP Conference

radius_put_vendor_addr

(PECL radius >= 1.1.0)

radius_put_vendor_addrAttaches a vendor specific IP address attribute

Descripción

radius_put_vendor_addr(
    resource $radius_handle,
    int $vendor,
    int $type,
    string $addr
): bool

Attaches an IP address vendor specific attribute to the current RADIUS request.

Nota:

Se debe crear una solicitud mediante radius_create_request() antes de llamar a esta función.

Parámetros

radius_handle

El recurso RADIUS.

vendor

El ID del vendedor.

type

El tipo de atributo.

addr

An IPv4 address in string form, such as 10.0.0.1.

options

Una máscara de bits de las opciones de atributo. Las opciones disponibles incluyen RADIUS_OPTION_TAGGED y RADIUS_OPTION_SALT.

tag

LA etiqueta de atributo. Este parámetro es ignorado a menos que la opción RADIUS_OPTION_TAGGED esté establecida.

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

Historial de cambios

Versión Descripción
PECL radius 1.3.0 The options and tag parameters were added.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top