Open GoogleCodeExporter opened 9 years ago
TYPE Android 2.3.7 Nov 2, 2011 git
Original comment by markesse...@gmail.com
on 2 Nov 2011 at 8:22
I have found the answer to this problem. This goes all the way back to the
master branch and was introduced by changes made in 2009 (FROYO)
PX_PROTO_OLAC and PX_PROTO_OPNS in the Bionic / libc /kernel / linux chain do
not match those in the kernel / include chain!!!
Sloppy Coding and/or checking
Please forgive my Sloppy comment, but I have coded to the DOD-2167 standard
from the start of time.
The Patch is
--------------------------------------------------------------------------------
----
diff --git a/libc/kernel/common/linux/if_pppolac.h
b/libc/kernel/common/linux/if_pppolac.h
index bf6eba0..f3c8bb1 100644
--- a/libc/kernel/common/linux/if_pppolac.h
+++ b/libc/kernel/common/linux/if_pppolac.h
@@ -15,7 +15,8 @@
#include <linux/socket.h>
#include <linux/types.h>
-#define PX_PROTO_OLAC 2
+/* was 2 */
+#define PX_PROTO_OLAC 3
struct sockaddr_pppolac {
sa_family_t sa_family;
--------------------------------------------------------------------------------
----
diff --git a/libc/kernel/common/linux/if_pppopns.h
b/libc/kernel/common/linux/if_pppopns.h
index ac75210..106b4d1 100644
--- a/libc/kernel/common/linux/if_pppopns.h
+++ b/libc/kernel/common/linux/if_pppopns.h
@@ -15,7 +15,8 @@
#include <linux/socket.h>
#include <linux/types.h>
-#define PX_PROTO_OPNS 3
+/* was 3 */
+#define PX_PROTO_OPNS 4
struct sockaddr_pppopns {
sa_family_t sa_family;
Original comment by markesse...@gmail.com
on 4 Nov 2011 at 2:02
Original issue reported on code.google.com by
markesse...@gmail.com
on 2 Nov 2011 at 8:19