Hi All,
I have faced some problem during modifying the dissector body which is generated by
Asn2wrs compiler.My problem is as mentioned below.
The IE filed description in the .asn file are
IntraDomainNasNodeSelector ::= SEQUENCE {
version CHOICE {
release99 SEQUENCE {
cn-Type CHOICE {
gsm-Map-IDNNS Gsm-map-IDNNS,
ansi-41-IDNNS Ansi-41-IDNNS
}
},
later SEQUENCE {
futurecoding BIT STRING (SIZE (15))
}
}
}
Here when .c file is generated the dissector code of the latter field look like
Int dissect_rua_T_later(tvbuff_t *tvb _U_ ,int offset………..)
{
//Need to add some code here
Offset=dissect_per_sequence(tvb,offset,…..)
return offset;
}
I have modified the .cnf file as
#.FN_HDR later
//My part of code
#.END
But after run the command make copy_file in the generated .c file my part of the code
is not reflected. Could any one tell me what is the reason and how can I add my part of the code in the dissector?
BR,
Tapas