Open GoogleCodeExporter opened 9 years ago
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
TI and/or rowboat if you want help from a very senior special projects engineer
on patching this code. please email me with instructions to post or submit to
your GIT:
Please for give my Sloppy comment, but I have coded to the DOD-2167 standard
all of my carrier.
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 1:58
Original issue reported on code.google.com by
markesse...@gmail.com
on 24 Oct 2011 at 6:06