]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
change tapif 'MTU' to be 1500 just like the linux tap's MTU
authorjani <jani>
Tue, 19 Nov 2002 10:20:19 +0000 (10:20 +0000)
committerjani <jani>
Tue, 19 Nov 2002 10:20:19 +0000 (10:20 +0000)
src/arch/unix/netif/tapif.c

index 23a15bcffad1f1fbf7e6161014d2683c73bc7421..7850d3f86d2d38b9b5d74c0b45a35d521327f26b 100644 (file)
@@ -144,7 +144,7 @@ static err_t
 low_level_output(struct netif *netif, struct pbuf *p)
 {
   struct pbuf *q;
-  char buf[1500];
+  char buf[1514];
   char *bufptr;
   struct tapif *tapif;
 
@@ -183,7 +183,7 @@ low_level_input(struct tapif *tapif)
 {
   struct pbuf *p, *q;
   u16_t len;
-  char buf[1500];
+  char buf[1514];
   char *bufptr;
 
   /* Obtain the size of the packet and put it into the "len"