Changeset 1868

Show
Ignore:
Timestamp:
05/12/07 12:52:34 (20 months ago)
Author:
aturner
Message:

template shouldn't use this offset thingy anymore. refs #166

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/tcpedit/plugins/dlt_template/plugin.c

    r1841 r1868  
    7474    plugin->dlt = dlt_value; 
    7575 
    76     /* offset to src/dst mac's.  must be >= 0 for a valid value or -1 for non-existent */ 
    77     plugin->srcmac_offset = -1; 
    78     plugin->dstmac_offset = -1; 
    79  
    80  
    8176    /* set the prefix name of our plugin.  This is also used as the prefix for our options */ 
    8277    plugin->name = safe_strdup(dlt_name); 
     
    209204 */ 
    210205int  
    211 dlt_%{plugin}_encode(tcpeditdlt_t *ctx, u_char **packet_ex, int pktlen, tcpr_dir_t dir) 
     206dlt_%{plugin}_encode(tcpeditdlt_t *ctx, u_char **packet_ex, int pktlen, _U_ tcpr_dir_t dir) 
    212207{ 
    213208    u_char *packet;