9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] pppoe on Plan 9
Date: Mon, 22 Feb 2010 16:13:59 -0800	[thread overview]
Message-ID: <dd6fe68a1002221613h4c6597abkfb3cdd8a79f7a739@mail.gmail.com> (raw)
In-Reply-To: <4ecada1e1002221031v2651e6c0wf56c4514f9fa55b8@mail.gmail.com>

> 00304894958d -> 00508d68c9c0 type 0x8863
>        vers 1 type 1 code 0x7 sessid 0x0 length 63
>        0x102 22: ac 'pecs-nas1.tvnetwork.hu'
>        0x101 9: service 'TvNetWork'
>        0x104 20: ac cookie 31e0aff8b09a633faae5b9685fdfbd0dad000000
> 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 = findtag(pkt, TagSrvName, &len, 0)) == nil)
		return bad("no matching service name");
	if(len != strlen(srvname) || memcmp(s, srvname, len) != 0)
		return bad("no matching service name");

should be inside a if(srvname[0] != '\0') { ... }.


  reply	other threads:[~2010-02-23  0:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-20 10:30 Bela Valek
2010-02-20 18:30 ` Russ Cox
2010-02-22  8:32   ` Bela Valek
2010-02-22 18:02     ` Russ Cox
2010-02-22 18:06       ` Eris Discordia
2010-02-22 18:31       ` Bela Valek
2010-02-23  0:13         ` Russ Cox [this message]
2010-02-23 16:48           ` Bela Valek
     [not found] <mailman.10146.1266886523.1513.9fans@9fans.net>
2010-02-23 10:29 ` Artem Pylypchuk
2010-02-23 18:27   ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd6fe68a1002221613h4c6597abkfb3cdd8a79f7a739@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).