File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -154,22 +154,22 @@ void PHISTSPlugin::pre_export(Flow &rec)
154154 }
155155}
156156
157- int PHISTSPlugin::post_create (Flow &rec, const Packet &pkt)
157+ ProcessPlugin::FlowAction PHISTSPlugin::post_create (Flow &rec, const Packet &pkt)
158158{
159159 RecordExtPHISTS *phists_data = new RecordExtPHISTS ();
160160
161161 rec.add_extension (phists_data);
162162
163163 update_record (phists_data, pkt);
164- return 0 ;
164+ return ProcessPlugin::FlowAction::GET_ALL_DATA ;
165165}
166166
167- int PHISTSPlugin::post_update (Flow &rec, const Packet &pkt)
167+ ProcessPlugin::FlowAction PHISTSPlugin::post_update (Flow &rec, const Packet &pkt)
168168{
169169 RecordExtPHISTS *phists_data = (RecordExtPHISTS *) rec.get_extension (RecordExtPHISTS::REGISTERED_ID);
170170
171171 update_record (phists_data, pkt);
172- return 0 ;
172+ return ProcessPlugin::FlowAction::GET_ALL_DATA ;
173173}
174174
175175}
Original file line number Diff line number Diff line change @@ -193,8 +193,8 @@ class PHISTSPlugin : public ProcessPlugin
193193 RecordExt *get_ext () const { return new RecordExtPHISTS (); }
194194 ProcessPlugin *copy ();
195195
196- int post_create (Flow &rec, const Packet &pkt);
197- int post_update (Flow &rec, const Packet &pkt);
196+ ProcessPlugin::FlowAction post_create (Flow &rec, const Packet &pkt);
197+ ProcessPlugin::FlowAction post_update (Flow &rec, const Packet &pkt);
198198
199199private:
200200 bool use_zeros;
You can’t perform that action at this time.
0 commit comments