sr_session_send: pass transformed packet to datafeed callbacks
After the packet has been passed through the transformation modules, the transformed data is in packet_in but the following code uses the packet variable which still points to the original input. This fixes bug #631.
This commit is contained in:
parent
1e6b5b9303
commit
4ec436c4d5
|
@ -770,6 +770,7 @@ SR_PRIV int sr_session_send(const struct sr_dev_inst *sdi,
|
|||
packet_in = packet_out;
|
||||
}
|
||||
}
|
||||
packet = packet_in;
|
||||
|
||||
/*
|
||||
* If the last transform did output a packet, pass it to all datafeed
|
||||
|
|
Loading…
Reference in New Issue