Navigation


Changeset 1326:afe0ecdb0692 in freeDiameter for libfdcore/fdd.y


Ignore:
Timestamp:
Nov 27, 2017, 11:18:57 PM (6 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Add config option if Route-Record AVPs should be added in Answers.

Some software does not handle them correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/fdd.y

    r1281 r1326  
    122122%token          TLS_DH_BITS
    123123%token          TLS_DH_FILE
     124%token          RR_IN_ANSWERS
     125%token          ALWAYS
     126%token          NEVER
    124127
    125128
     
    154157                        | conffile tls_prio
    155158                        | conffile tls_dh
     159                        | conffile rr_in_answers
    156160                        | conffile errors
    157161                        {
     
    666670                        }
    667671                        ;
     672
     673rr_values:              ALWAYS
     674                        {
     675                                conf->cnf_rr_in_answers = 1;
     676                        }
     677                        | NEVER
     678                        {
     679                                conf->cnf_rr_in_answers = 0;
     680                        }
     681                        ;
     682
     683rr_in_answers:          RR_IN_ANSWERS '=' rr_values ';'
     684                        ;
Note: See TracChangeset for help on using the changeset viewer.