Skip to content

Commit b80e0fa

Browse files
authored
Merge pull request #78 from CESNET/process_create_plugin_fix
Update create_plugin.sh : renamed FlowCachePlugin -> ProcessPlugin
2 parents 254d2c2 + 8c93270 commit b80e0fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

process/create_plugin.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ struct RecordExt${PLUGIN_UPPER} : public RecordExt {
119119
};
120120
121121
/**
122-
* \\brief Flow cache plugin for parsing ${PLUGIN_UPPER} packets.
122+
* \\brief Process plugin for parsing ${PLUGIN_UPPER} packets.
123123
*/
124-
class ${PLUGIN_UPPER}Plugin : public FlowCachePlugin
124+
class ${PLUGIN_UPPER}Plugin : public ProcessPlugin
125125
{
126126
public:
127127
${PLUGIN_UPPER}Plugin();
@@ -131,7 +131,7 @@ public:
131131
OptionsParser *get_parser() const { return new OptionsParser(\"${PLUGIN}\", \"Parse ${PLUGIN_UPPER} traffic\"); }
132132
std::string get_name() const { return \"${PLUGIN}\"; }
133133
RecordExt *get_ext() const { return new RecordExt${PLUGIN_UPPER}(); }
134-
FlowCachePlugin *copy();
134+
ProcessPlugin *copy();
135135
136136
int pre_create(Packet &pkt);
137137
int post_create(Flow &rec, const Packet &pkt);
@@ -177,7 +177,7 @@ void ${PLUGIN_UPPER}Plugin::close()
177177
{
178178
}
179179
180-
FlowCachePlugin *${PLUGIN_UPPER}Plugin::copy()
180+
ProcessPlugin *${PLUGIN_UPPER}Plugin::copy()
181181
{
182182
return new ${PLUGIN_UPPER}Plugin(*this);
183183
}

0 commit comments

Comments
 (0)