From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4ecada1e1002221031v2651e6c0wf56c4514f9fa55b8@mail.gmail.com> References: <4ecada1e1002200230p768972b4k13e83eb7129e1f9@mail.gmail.com> <4ecada1e1002220032i3db7158fvc2fd5c91483043c9@mail.gmail.com> <4ecada1e1002221031v2651e6c0wf56c4514f9fa55b8@mail.gmail.com> Date: Mon, 22 Feb 2010 16:13:59 -0800 Message-ID: Subject: Re: [9fans] pppoe on Plan 9 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: d89addd0-ead5-11e9-9d60-3106f5b1d025 > 00304894958d -> 00508d68c9c0 type 0x8863 > =C2=A0 =C2=A0 =C2=A0 =C2=A0vers 1 type 1 code 0x7 sessid 0x0 length 63 > =C2=A0 =C2=A0 =C2=A0 =C2=A00x102 22: ac 'pecs-nas1.tvnetwork.hu' > =C2=A0 =C2=A0 =C2=A0 =C2=A00x101 9: service 'TvNetWork' > =C2=A0 =C2=A0 =C2=A0 =C2=A00x104 20: ac cookie 31e0aff8b09a633faae5b9685f= dfbd0dad000000 > dropping unwanted pkt: no matching service name try adding -S TvNetWork to your command line. it looks like in pppoe.c the block if((s =3D findtag(pkt, TagSrvName, &len, 0)) =3D=3D nil) return bad("no matching service name"); if(len !=3D strlen(srvname) || memcmp(s, srvname, len) !=3D 0) return bad("no matching service name"); should be inside a if(srvname[0] !=3D '\0') { ... }.