Skip to content

Commit

Permalink
The prefix types are internal, definitely not specific to RADIUS
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Sep 25, 2019
1 parent c337d56 commit 72368bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/antora/modules/unlang/pages/type/all_types.adoc
Expand Up @@ -33,6 +33,8 @@ possible to write values in the format you expect, The server will do
| int64 | 64-bit signed integer
| ipaddr | IPv4 address
| ipv6addr | IPv6 address
| ipv4prefix | IPv4 network with address and prefix length
| ipv6prefix | IPv6 network with address and prefix length
| octets | raw binary, printed as hex strings
| string | printable strings
| time_delta | difference between two calendar dates
Expand Down Expand Up @@ -72,8 +74,6 @@ in `unlang` statements.
| Data Type | Protocol | Description
| abinary | RADIUS | Ascend binary filters
| extended | RADIUS | attributes which "extend" the number space
| ipv4prefix | RADIUS | IPv4 network with address and prefix length
| ipv6prefix | RADIUS | IPv6 network with address and prefix length
|=====

// Copyright (C) 2019 Network RADIUS SAS. Licenced under CC-by-NC 4.0.
Expand Down

5 comments on commit 72368bf

@alandekok
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prefix types aren't included in any other protocol, tho. This change may make people think that they can use the prefix types in DHCP. They can't.

@arr2036
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They can use prefix types in DHCP...

@arr2036
Copy link
Member Author

@arr2036 arr2036 commented on 72368bf Sep 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think DHCPv6 uses for prefix delegation?

@arr2036
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hint, it's a prefix type.

@arr2036
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure I added support for prefixes in DHCPv4 too. It's at least handled by the generic encoder/decoder.

Please sign in to comment.