mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Merge pull request #171 from Ysurac/develop
Try to fix compilation patch for bpi-r2
This commit is contained in:
commit
7e39849b3b
1 changed files with 16 additions and 15 deletions
|
@ -1,24 +1,25 @@
|
||||||
--- a/src/flowlabel.h 2021-06-24 13:26:33.142463630 +0200
|
--- a/src/flowlabel.h 2021-06-24 13:26:33.142463630 +0200
|
||||||
+++ b/src/flowlabel.h 2021-06-24 13:27:45.669235179 +0200
|
+++ b/src/flowlabel.h 2021-06-24 13:27:45.669235179 +0200
|
||||||
@@ -37,21 +37,6 @@
|
@@ -37,21 +37,21 @@
|
||||||
conflicts with "netinet/in.h" .
|
conflicts with "netinet/in.h" .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
-#ifndef __ANDROID__
|
-#ifndef __ANDROID__
|
||||||
-struct in6_flowlabel_req
|
+#ifndef _LINUX_IN6_H
|
||||||
-{
|
struct in6_flowlabel_req
|
||||||
- struct in6_addr flr_dst;
|
{
|
||||||
- __u32 flr_label;
|
struct in6_addr flr_dst;
|
||||||
- __u8 flr_action;
|
__u32 flr_label;
|
||||||
- __u8 flr_share;
|
__u8 flr_action;
|
||||||
- __u16 flr_flags;
|
__u8 flr_share;
|
||||||
- __u16 flr_expires;
|
__u16 flr_flags;
|
||||||
- __u16 flr_linger;
|
__u16 flr_expires;
|
||||||
- __u32 __flr_pad;
|
__u16 flr_linger;
|
||||||
- /* Options in format of IPV6_PKTOPTIONS */
|
__u32 __flr_pad;
|
||||||
-};
|
/* Options in format of IPV6_PKTOPTIONS */
|
||||||
-#endif
|
};
|
||||||
-
|
#endif
|
||||||
|
|
||||||
#define IPV6_FL_A_GET 0
|
#define IPV6_FL_A_GET 0
|
||||||
#define IPV6_FL_A_PUT 1
|
#define IPV6_FL_A_PUT 1
|
||||||
#define IPV6_FL_A_RENEW 2
|
#define IPV6_FL_A_RENEW 2
|
||||||
|
|
Loading…
Reference in a new issue