summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe/common.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-04-24 05:04:52 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-04-24 05:04:52 +0000
commit6c28f05d399bc236b9b8187ca14fb3cb1ef5ab92 (patch)
treea4ad9f3617aaa8bc6567f85d006489481ba3be79 /usr.sbin/pppoe/common.c
parent0fba2a00af50ff8d46f3ad432877281e20797a30 (diff)
Remove unnecessary code; Russell T Hunt <alaric@MIT.EDU>.
Diffstat (limited to 'usr.sbin/pppoe/common.c')
-rw-r--r--usr.sbin/pppoe/common.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pppoe/common.c b/usr.sbin/pppoe/common.c
index 9070effeb77..d49ab6ef516 100644
--- a/usr.sbin/pppoe/common.c
+++ b/usr.sbin/pppoe/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.3 2001/03/09 03:24:09 deraadt Exp $ */
+/* $OpenBSD: common.c,v 1.4 2001/04/24 05:04:51 jason Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -174,9 +174,6 @@ ppp_to_bpf(bfd, pppfd, myea, rmea, id)
return (-1);
r -= 2;
- iov[0].iov_len = 2;
- iov[1].iov_len = r;
-
ph.vertype = PPPOE_VERTYPE(1, 1);
ph.code = PPPOE_CODE_SESSION;
ph.len = htons(r);