diff options
author | brian <brian@FreeBSD.org> | 2002-06-15 08:03:30 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-06-15 08:03:30 +0000 |
commit | 72243fc694aea0f3db76715775105efb1fa5e79b (patch) | |
tree | 1a5ce3d59f7e248077b816072e04048f10560a99 /usr.sbin/ppp/atm.c | |
parent | 361d0dd8a73326bbaf2681ea73e1e304ecedb470 (diff) | |
download | FreeBSD-src-72243fc694aea0f3db76715775105efb1fa5e79b.zip FreeBSD-src-72243fc694aea0f3db76715775105efb1fa5e79b.tar.gz |
Remove whitespace at the end of lines.
Diffstat (limited to 'usr.sbin/ppp/atm.c')
-rw-r--r-- | usr.sbin/ppp/atm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/atm.c b/usr.sbin/ppp/atm.c index 5d41bac..0d51564 100644 --- a/usr.sbin/ppp/atm.c +++ b/usr.sbin/ppp/atm.c @@ -170,7 +170,7 @@ atm_CreateDevice(struct physical *p, const char *iface, unsigned vpi, { struct atmdevice *dev; struct sockaddr_natm sock; - + if ((dev = calloc(1, sizeof *dev)) == NULL) { log_Printf(LogWARN, "%s: Cannot allocate an atm device: %s\n", p->link.name, strerror(errno)); @@ -214,14 +214,14 @@ atm_Create(struct physical *p) && p->name.full[PPPOA_LEN] == ':') { char iface[25]; unsigned vci, vpi; - + if (sscanf(p->name.full + PPPOA_LEN + 1, "%25[A-Za-z0-9]:%u.%u", iface, &vpi, &vci) != 3) { log_Printf(LogWARN, "Malformed ATM device name \'%s\', " "PPPoA:if:vpi.vci expected\n", p->name.full); return NULL; } - + dev = atm_CreateDevice(p, iface, vpi, vci); } |