Hi, I am submitting a small patch for pppoe...
The iovec array in send_padi() can contain either 7 or 8 elements. The following patch declares the array as having size of 8 rather than 10. Does this look OK? - Michael Index: client.c =================================================================== RCS file: /cvs/src/usr.sbin/pppoe/client.c,v retrieving revision 1.24 diff -u -r1.24 client.c --- client.c 5 Nov 2011 09:20:36 -0000 1.24 +++ client.c 3 Jan 2013 03:33:00 -0000 @@ -144,7 +144,7 @@ static int send_padi(int fd, struct ether_addr *ea, u_int8_t *srv) { - struct iovec iov[10]; + struct iovec iov[8]; struct pppoe_header ph = { PPPOE_VERTYPE(1, 1), PPPOE_CODE_PADI, 0, 0