(PECL radius >= 1.1.0)
radius_put_addr — Attaches an IP address attribute
$radius_handle
, int $type
, string $addr
, int $options
= 0
, int $tag
= ?
) : boolAttaches an IP address attribute to the current RADIUS request.
Nota:
Se debe crear una solicitud mediante radius_create_request() antes de llamar a esta función.
radius_handle
El recurso RADIUS.
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.
Devuelve true
en caso de éxito o false
en caso de error.
Versión | Descripción |
---|---|
PECL radius 1.3.0 |
The options and tag
parameters were added.
|