]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
RFC 1661 requires that all LCP packets are sent with no address and
authorArchie Cobbs <archie@FreeBSD.org>
Thu, 10 Aug 2000 20:05:12 +0000 (20:05 +0000)
committerArchie Cobbs <archie@FreeBSD.org>
Thu, 10 Aug 2000 20:05:12 +0000 (20:05 +0000)
commit7b38c4e4d95be961c32dfb751435193353a5874b
treeccc1f254bc056f5d65520a349f7568652aaa37e8
parent70d25dfbcedc1bc60cf6af86635fa3468f94c5f0
RFC 1661 requires that all LCP packets are sent with no address and
control field compression. The ng_ppp(4) node correctly follows this
rule. However, PPPoE is an exception: when doing PPPoE *all* frames
are sent with address and control field compression.

Alter this node's behavior so that when an outgoing frame is received,
any leading address and control field bytes are removed. This makes
this node compatible with ng_ppp(4).
sys/netgraph/ng_pppoe.c