Deleted Added
full compact
26c26
< * $FreeBSD: head/usr.sbin/ppp/ether.c 99086 2002-06-29 18:49:08Z brian $
---
> * $FreeBSD: head/usr.sbin/ppp/ether.c 132818 2004-07-29 05:59:43Z glebius $
446c446
< char *path, *sessionid;
---
> char *path, *sessionid, *mode;
623a624,636
> snprintf(connectpath, sizeof connectpath, ".:%s", dev->hook);
>
> /* Configure node to 3Com mode if needed */
> if (p->cfg.pppoe_configured) {
> mode = p->cfg.nonstandard_pppoe ? NG_PPPOE_NONSTANDARD : NG_PPPOE_STANDARD;
> if (NgSendMsg(dev->cs, connectpath, NGM_PPPOE_COOKIE,
> NGM_PPPOE_SETMODE, mode, strlen(mode) + 1) == -1) {
> log_Printf(LogWARN, "``%s'': Cannot configure netgraph node: %s\n",
> connectpath, strerror(errno));
> return ether_Abandon(dev, p);
> }
> }
>
631d643
< snprintf(connectpath, sizeof connectpath, ".:%s", dev->hook);