radius_put_addr
(PECL radius >= 1.1.0)
radius_put_addr - IP 주소 속성을 첨부합니다.
설명
radius_put_addr( resource $radius_handle, int $type, string $addr, int $options = 0, int $tag = ? ): bool
현재 RADIUS 요청에 IP 주소 속성을 연결합니다.
메모: 이 함수를 호출하려면 먼저 radius_create_request()를 통해 요청을 생성해야 합니다.
매개변수
radius_handle
- The RADIUS resource.
type
- The attribute type.
addr
- An IPv4 address in string form, such as 10.0.0.1.
options
- A bitmask of the attribute options. The available options include RADIUS_OPTION_TAGGED and RADIUS_OPTION_SALT.
tag
- The attribute tag. This parameter is ignored unless the RADIUS_OPTION_TAGGED option is set.
반환 값
성공 시 true
을 반환하고 오류 시 false
를 반환합니다.
변경 로그
버전 | 설명 |
---|---|
PECL radius 1.3.0 | options 및 tag 매개 변수가 추가되었습니다. |