Send all PPPoE control packets to PPPoE app.

git-svn-id: svn://kolibrios.org@2964 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-09-01 20:44:13 +00:00
parent 329d879229
commit 5d0e172b95
2 changed files with 4 additions and 3 deletions

View File

@ -203,9 +203,10 @@ PPPoE_session_input:
cmp ax, PPP_IPv4
je IPv4_input
cmp ax, PPP_LCP
je PPPoE_discovery_input ; Send LCP packets to the PPP dialer
; cmp ax, PPP_IPv6
; je IPv6_input
jmp PPPoE_discovery_input ; Send LCP,CHAP,CBCP,... packets to the PPP dialer
DEBUGF 2,"PPPoE_input: Unknown protocol=%x\n", ax
.dump:

View File

@ -45,7 +45,7 @@ ETHER_PPP_SESSION = 0x6488
; PPP protocol numbers
PPP_IPv4 = 0x2100
PPP_LCP = 0x21c0
PPP_IPV6 = 0x5780
;Protocol family
AF_UNSPEC = 0