Signed-off-by: Yuichi Ito <ito.yuic...@gmail.com> --- ryu/lib/packet/ipv6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/lib/packet/ipv6.py b/ryu/lib/packet/ipv6.py index 4131491..6a62aba 100644 --- a/ryu/lib/packet/ipv6.py +++ b/ryu/lib/packet/ipv6.py @@ -112,7 +112,7 @@ class ipv6(packet_base.PacketBase): def serialize(self, payload, prev): hdr = bytearray(40) v_tc_flow = (self.version << 28 | self.traffic_class << 20 | - self.flow_label << 12) + self.flow_label) struct.pack_into(ipv6._PACK_STR, hdr, 0, v_tc_flow, self.payload_length, self.nxt, self.hop_limit, addrconv.ipv6.text_to_bin(self.src), -- 1.7.10.4 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel