From owner-freebsd-questions Thu Oct 26 21:39: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f145.law6.hotmail.com [216.32.241.145]) by hub.freebsd.org (Postfix) with ESMTP id 04AB237B479; Thu, 26 Oct 2000 21:39:04 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 26 Oct 2000 21:39:03 -0700 Received: from 203.11.225.5 by lw6fd.law6.hotmail.msn.com with HTTP; Fri, 27 Oct 2000 04:39:03 GMT X-Originating-IP: [203.11.225.5] From: "Aaron Hill" 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) Date: Fri, 27 Oct 2000 04:39:03 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Oct 2000 04:39:03.0612 (UTC) FILETIME=[D552AFC0:01C03FCF] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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