From 5d0e172b959e8c68d43a858284ecf9ff92b096d4 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sat, 1 Sep 2012 20:44:13 +0000 Subject: [PATCH] Send all PPPoE control packets to PPPoE app. git-svn-id: svn://kolibrios.org@2964 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/network/PPPoE.inc | 5 +++-- kernel/branches/net/network/stack.inc | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/branches/net/network/PPPoE.inc b/kernel/branches/net/network/PPPoE.inc index faabf6973e..2f5e6c7a72 100644 --- a/kernel/branches/net/network/PPPoE.inc +++ b/kernel/branches/net/network/PPPoE.inc @@ -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: diff --git a/kernel/branches/net/network/stack.inc b/kernel/branches/net/network/stack.inc index 37bad33e97..74fea77862 100644 --- a/kernel/branches/net/network/stack.inc +++ b/kernel/branches/net/network/stack.inc @@ -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