vpn: reported fixme;
authorPhilipp Tölke <toelke@in.tum.de>
Mon, 28 Jun 2010 12:37:46 +0000 (12:37 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Mon, 28 Jun 2010 12:37:46 +0000 (12:37 +0000)
src/vpn/packet.c

index 32e7744d1498e8f88dbd1e82574de26d46feb8b2..75d3b3f9c809fc708135b3b535a97763125f4ed3 100644 (file)
@@ -54,6 +54,7 @@ int recv_pkt(int fd, struct pkt_tun** pkt) {{{
                        debug(1, 0, "reading an ipv6-packet\n");
                        struct ip6_pkt * pkt6 = (struct ip6_pkt*) *pkt;
                        size = payload(&(pkt6->hdr));
+                       // TODO: size might be greater than r!
                        debug(1, 0, "read the size: %d\n", size);
                        return size;
                        break;