[RP-PPPoE] PPPoE Server Kernel support is not detected with IPv6

Adrian Ban adrian at abtelecom.ro
Mon Sep 23 04:54:54 EDT 2013


Sorry, my mistake. I've put vice-versa the original code and the new code.

Best regards,
Adrian

On 9/23/2013 10:58 AM, Adrian Ban wrote:
> Hi David,
>
> I don't know if you figured out that are 2 zones in configure where 
> should be added the in6.h:
> I've attached the full output of diff from my sources.
>
>
> Best regards,
> Adrian
>
>
> On 9/19/2013 4:04 PM, David F. Skoll wrote:
>> On Sun, 15 Sep 2013 03:04:28 +0300
>> Adrian Ban <adrian at abtelecom.ro> wrote:
>>
>>> After I've added:
>>> #include <linux/if.h>
>>> #include <linux/in.h>
>>> *#include <linux/in6.h>**
>>> *#include <linux/if_pppox.h>
>>> The test program is compiled correctly and detects the kernel mode:
>>> This fix can be updated in the sources?
>> Yes, I will apply the fix.  Thanks very much for the patch.
>>
>> Regards,
>>
>> David.
>> _______________________________________________
>> RP-PPPoE mailing list
>> RP-PPPoE at lists.roaringpenguin.com
>> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
>
>
>
> _______________________________________________
> RP-PPPoE mailing list
> RP-PPPoE at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe

-- 
Adrian Ban
IP/MPLS Engineer
----------------------------------------
mobil: +40788388190
web: www.abtelecom.ro
-------------- next part --------------
diff -Naur rp-pppoe-3.11-orig/src/configure rp-pppoe-3.11/src/configure
--- rp-pppoe-3.11-orig/src/configure    2012-08-17 21:31:25.000000000 +0300
+++ rp-pppoe-3.11/src/configure 2013-09-23 10:48:46.164792673 +0300
@@ -3679,6 +3679,7 @@
 #include<net/ethernet.h>
 #include<linux/if.h>
 #include<linux/in.h>
+#include<linux/in6.h>

 "
 if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
@@ -4525,6 +4526,7 @@
 #include <net/ethernet.h>
 #include <linux/if.h>
 #include <linux/in.h>
+#include <linux/in6.h>
 #include <linux/if_pppox.h>
 int main()
 {
diff -Naur rp-pppoe-3.11-orig/src/configure.in rp-pppoe-3.11/src/configure.in
--- rp-pppoe-3.11-orig/src/configure.in 2012-08-17 21:31:25.000000000 +0300
+++ rp-pppoe-3.11/src/configure.in      2013-09-23 10:48:29.976621061 +0300
@@ -26,6 +26,7 @@
 #include<net/ethernet.h>
 #include<linux/if.h>
 #include<linux/in.h>
+#include<linux/in6.h>
 ])

 dnl Checks for typedefs, structures, and compiler characteristics.
@@ -167,6 +168,7 @@
 #include <net/ethernet.h>
 #include <linux/if.h>
 #include <linux/in.h>
+#include <linux/in6.h>
 #include <linux/if_pppox.h>
 int main()
 {



More information about the RP-PPPoE mailing list