Added St extension and modified Rx Gx to avoid conflict
Change-Id: Ie3a09088eae83e1dff82ff82051e6345c103c171
diff --git a/extensions/dict_Rx/dict_Rx.c b/extensions/dict_Rx/dict_Rx.c
index 19ad57d..d6ab20b 100644
--- a/extensions/dict_Rx/dict_Rx.c
+++ b/extensions/dict_Rx/dict_Rx.c
@@ -26,7 +26,7 @@
#include <freeDiameter/extension.h>
#define PROTO_VER "e30"
-#define GEN_DATE 1506697208.6
+#define GEN_DATE 1530130754.42
const char *rx_proto_ver = PROTO_VER;
const double rx_gen_date = GEN_DATE;
@@ -100,7 +100,6 @@
static int dict_rx_load_defs(char * conffile)
{
TRACE_ENTRY("%p", conffile);
- struct dict_object * app_id16777224;
struct dict_object * app_id16777229;
/* Application Section */
@@ -108,13 +107,7 @@
{
struct dict_object * vendor;
CHECK_dict_search(DICT_VENDOR, VENDOR_BY_NAME, "3GPP", &vendor)
- struct dict_application_data data = { 16777224, "Rx" };
- CHECK_dict_new( DICT_APPLICATION, &data, vendor, &app_id16777224)
- }
- {
- struct dict_object * vendor;
- CHECK_dict_search(DICT_VENDOR, VENDOR_BY_NAME, "3GPP", &vendor)
- struct dict_application_data data = { 16777229, "Rx-app16777229" };
+ struct dict_application_data data = { 16777229, "Rx" };
CHECK_dict_new( DICT_APPLICATION, &data, vendor, &app_id16777229)
}
/* Result codes */
@@ -457,11 +450,11 @@
return dict_rx_load_rules(conffile);
}
-const char* dict_rx_proto_ver(char * conffile) {
+const char* dict_proto_ver(char * conffile) {
return rx_proto_ver;
}
-const double dict_rx_gen_ts(char * conffile) {
+const double dict_gen_ts(char * conffile) {
return rx_gen_date;
}