Deleted Added
full compact
26c26
< * $FreeBSD: head/usr.sbin/ppp/ether.c 71006 2001-01-14 00:54:48Z brian $
---
> * $FreeBSD: head/usr.sbin/ppp/ether.c 74916 2001-03-28 09:45:27Z brian $
36a37,38
> #include <net/if.h>
> #include <net/route.h>
90a93
> #include "iface.h"
402c405,406
< int f;
---
> char *path;
> int ifacelen, f;
404a409,410
> path = NULL;
> ifacelen = 0;
413,414c419,420
< char *path, etherid[12];
< int ifacelen, providerlen;
---
> char etherid[12];
> int providerlen;
676a683,691
> if (path != NULL) {
> /* Mark the interface as UP if it's not already */
>
> path[ifacelen] = '\0'; /* Remove the trailing ':' */
> if (!iface_SetFlags(path, IFF_UP))
> log_Printf(LogWARN, "%s: Failed to set the IFF_UP flag on %s\n",
> p->link.name, path);
> }
>