Subject: Re: Now I'm confused (Was: Re:) From: "Aaron Hill" To: paulh@logicsquad.net Date: Tue, June 19, 2001 7:54 pm --- ng_pppoe.c.40 Tue Jun 19 08:00:05 2001 +++ ng_pppoe.c Tue Jun 19 08:05:52 2001 @@ -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;