Date: Fri, 27 Oct 2000 04:39:03 GMT From: "Aaron Hill" <hillaa@hotmail.com> To: bv@bilver.wjv.com Cc: freebsd-isp@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Solved! R4.1.1 PPPoE with ADSL (Telstra Bigpond) Message-ID: <F145a5wAz8AWiZAtGYk0000131a@hotmail.com>
next in thread | raw e-mail | index | archive | help
>Well could you put just a bit more detail - showing the lines you >changed - or a diff - or just that portion of the module? Sorry, I don't make diffs too often. Here's what I've done... diff -u ng_pppoe.c.R411 ng_pppoe.c --- ng_pppoe.c.R411 Fri Oct 27 15:17:26 2000 +++ ng_pppoe.c Fri Oct 27 15:18:50 2000 @@ -748,8 +748,8 @@ uniqtag.hdr.tag_len = htons((u_int16_t)sizeof(uniqtag.data)); uniqtag.data.pointer = sp; init_tags(sp); - insert_tag(sp, &sp->neg->service.hdr); insert_tag(sp, &uniqtag.hdr); + insert_tag(sp, &sp->neg->service.hdr); make_packet(sp); sendpacket(sp); } @@ -905,12 +905,12 @@ neg->timeout = 0; neg->pkt->pkt_header.ph.code = PADR_CODE; init_tags(sp); - insert_tag(sp, &neg->service.hdr); /* Service */ + insert_tag(sp, utag); /* Host Unique */ if ((tag = get_tag(ph, PTT_AC_COOKIE))) insert_tag(sp, tag); /* return cookie */ if ((tag = get_tag(ph, PTT_AC_NAME))) insert_tag(sp, tag); /* return it */ - insert_tag(sp, utag); /* Host Unique */ + insert_tag(sp, &neg->service.hdr); /* Service */ scan_tags(sp, ph); make_packet(sp); sp->state = PPPOE_SREQ; I hope that helps. Aaron Hill _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F145a5wAz8AWiZAtGYk0000131a>