Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_radgw/rgwx_echodrop.c
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgwx_echodrop.c
r741 r974 60 60 TRACE_ENTRY("%p %p", conffile, state); 61 61 CHECK_PARAMS( state ); 62 CHECK_PARAMS_DO( conffile, { fd_log_debug("[echodrop.rgwx] The configuration file is not optional for this plugin. \n"); return EINVAL; } );62 CHECK_PARAMS_DO( conffile, { fd_log_debug("[echodrop.rgwx] The configuration file is not optional for this plugin."); return EINVAL; } ); 63 63 64 64 CHECK_MALLOC( new = malloc(sizeof(struct rgwp_config)) ); … … 82 82 char * act = (eca->action == ACT_ECHO) ? "ECHO" : "DROP"; 83 83 if (eca->ext) { 84 fd_log_debug(" %s Code: %hhu, Vendor: %u, Ext-Type: %hu \n", act, eca->code, eca->vendor_id, eca->extype);84 fd_log_debug(" %s Code: %hhu, Vendor: %u, Ext-Type: %hu", act, eca->code, eca->vendor_id, eca->extype); 85 85 continue; 86 86 } 87 87 if (eca->tlv) { 88 fd_log_debug(" %s Code: %hhu, Vendor: %u, Type: %hhu \n", act, eca->code, eca->vendor_id, eca->type);88 fd_log_debug(" %s Code: %hhu, Vendor: %u, Type: %hhu", act, eca->code, eca->vendor_id, eca->type); 89 89 continue; 90 90 } 91 91 if (eca->vsa) { 92 fd_log_debug(" %s Code: %hhu, Vendor: %u \n", act, eca->code, eca->vendor_id);93 continue; 94 } 95 fd_log_debug(" %s Code: %hhu \n", act, eca->code);92 fd_log_debug(" %s Code: %hhu, Vendor: %u", act, eca->code, eca->vendor_id); 93 continue; 94 } 95 fd_log_debug(" %s Code: %hhu", act, eca->code); 96 96 } 97 97 } … … 186 186 if (eca->ext) { 187 187 /* To be done */ 188 fd_log_debug("Extended attributes are not implemented yet! \n");188 fd_log_debug("Extended attributes are not implemented yet!"); 189 189 ASSERT(0); 190 190 continue; … … 219 219 CHECK_PARAMS_DO(*session, 220 220 { 221 fd_log_debug( "[echodrop.rgwx] The extension is configured to echo some attributes from this message, but no session object has been created for it (yet). \n"221 fd_log_debug( "[echodrop.rgwx] The extension is configured to echo some attributes from this message, but no session object has been created for it (yet)." 222 222 " Please check your configuration file and include a session-generating extension BEFORE calling echodrop.rgwx to echo attributes.\n" 223 223 " Please use debug.rgwx to retrieve more information.\n" );
Note: See TracChangeset
for help on using the changeset viewer.