vici: Add support for P-CSCF server attributes

Was apparently forgotten when support was added to the attr plugin
with 98a3ba8a5a16 ("attr: Add p-cscf keyword for P-CSCF server addresses").

For consistency, using an underscore like the `split*` options and not a
dash like in the attr plugin.

References strongswan/strongswan#2396
This commit is contained in:
Tobias Brunner 2025-07-11 08:04:26 +02:00
parent ea05033319
commit f02033664e
2 changed files with 5 additions and 4 deletions

View File

@ -421,6 +421,7 @@ CALLBACK(pool_li, bool,
{"netmask", INTERNAL_IP4_NETMASK, INTERNAL_IP6_NETMASK }, {"netmask", INTERNAL_IP4_NETMASK, INTERNAL_IP6_NETMASK },
{"server", INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER }, {"server", INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER },
{"subnet", INTERNAL_IP4_SUBNET, INTERNAL_IP6_SUBNET }, {"subnet", INTERNAL_IP4_SUBNET, INTERNAL_IP6_SUBNET },
{"p_cscf", P_CSCF_IP4_ADDRESS, P_CSCF_IP6_ADDRESS, },
{"split_include", UNITY_SPLIT_INCLUDE, UNITY_SPLIT_INCLUDE }, {"split_include", UNITY_SPLIT_INCLUDE, UNITY_SPLIT_INCLUDE },
{"split_exclude", UNITY_LOCAL_LAN, UNITY_LOCAL_LAN }, {"split_exclude", UNITY_LOCAL_LAN, UNITY_LOCAL_LAN },
}; };

View File

@ -1401,10 +1401,10 @@ pools.<name>.<attr> =
Comma separated list of additional attributes of type **<attr>**. The Comma separated list of additional attributes of type **<attr>**. The
attribute type may be one of _dns_, _nbns_, _dhcp_, _netmask_, _server_, attribute type may be one of _dns_, _nbns_, _dhcp_, _netmask_, _server_,
_subnet_, _split_include_ and _split_exclude_ to define addresses or CIDR _subnet_, _p_cscf_, _split_include_ and _split_exclude_ to define addresses
subnets for the corresponding attribute types. Alternatively, **<attr>** can or CIDR subnets for the corresponding attribute types. Alternatively,
be a numerical identifier, for which string attribute values are accepted **<attr>** can be a numerical identifier, for which string attribute values
as well. are accepted as well.
authorities { # } authorities { # }
Section defining attributes of certification authorities. Section defining attributes of certification authorities.