Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
freediameter
Commits
a3c04cf8
Commit
a3c04cf8
authored
Nov 22, 2011
by
Sebastien Decugis
Browse files
Fixes to the dictionary definitions, thanks to Romain
parent
f34e8e53
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/dict_rfc5777/dict_rfc5777.c
View file @
a3c04cf8
...
...
@@ -319,7 +319,7 @@ int dict_rfc5777_init(char * conffile)
struct
dict_avp_data
data
=
{
576
,
/* Code */
0
,
/* Vendor */
"QoS-
p
arameters"
,
/* Name */
"QoS-
P
arameters"
,
/* Name */
AVP_FLAG_VENDOR
|
AVP_FLAG_MANDATORY
,
/* Fixed flags */
AVP_FLAG_MANDATORY
,
/* Fixed flag values */
AVP_TYPE_GROUPED
/* base type of data */
...
...
@@ -1104,7 +1104,7 @@ int dict_rfc5777_init(char * conffile)
*/
struct
dict_avp_data
data
=
{
5
39
,
/* Code */
5
44
,
/* Code */
0
,
/* Vendor */
"TCP-Flag-Type"
,
/* Name */
AVP_FLAG_VENDOR
|
AVP_FLAG_MANDATORY
,
/* Fixed flags */
...
...
@@ -1392,7 +1392,7 @@ int dict_rfc5777_init(char * conffile)
struct
dict_avp_data
data
=
{
537
,
/* Code */
0
,
/* Vendor */
"
TC
P-Option"
,
/* Name */
"
I
P-Option"
,
/* Name */
AVP_FLAG_VENDOR
|
AVP_FLAG_MANDATORY
,
/* Fixed flags */
AVP_FLAG_MANDATORY
,
/* Fixed flag values */
AVP_TYPE_GROUPED
/* base type of data */
...
...
@@ -1629,7 +1629,7 @@ int dict_rfc5777_init(char * conffile)
struct
local_rules_definition
rules
[]
=
{
{
"IP-Address"
,
RULE_REQUIRED
,
-
1
,
1
}
,{
"IP-Bit-Mask-Width"
,
RULE_REQUIRED
,
-
1
,
1
}
,{
"IP-
Mask-
Bit-Mask-Width"
,
RULE_REQUIRED
,
-
1
,
1
}
};
CHECK_dict_new
(
DICT_AVP
,
&
data
,
NULL
,
&
avp
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment