File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,12 @@ ProcessPlugin *VLANPlugin::copy()
4646 return new VLANPlugin (*this );
4747}
4848
49- int VLANPlugin::post_create (Flow &rec, const Packet &pkt)
49+ ProcessPlugin::FlowAction VLANPlugin::post_create (Flow &rec, const Packet &pkt)
5050{
5151 auto ext = new RecordExtVLAN ();
5252 ext->vlan_id = pkt.vlan_id ;
5353 rec.add_extension (ext);
54- return 0 ;
54+ return ProcessPlugin::FlowAction::GET_ALL_DATA ;
5555}
5656
5757}
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class VLANPlugin : public ProcessPlugin
117117 RecordExt *get_ext () const { return new RecordExtVLAN (); }
118118 ProcessPlugin *copy ();
119119
120- int post_create (Flow &rec, const Packet &pkt);
120+ ProcessPlugin::FlowAction post_create (Flow &rec, const Packet &pkt);
121121};
122122
123123}
You can’t perform that action at this time.
0 commit comments