third_party_libnl/solve-redefinition-of-struct-ipv6_mreq.patch
RichardHuang9527 a15d382746 feat: Change the source from libnl3 third-party library to openEuler:libnl
Signed-off-by: RichardHuang9527 <huangyiping8@huawei.com>
2023-04-12 19:23:03 -07:00

13 lines
513 B
Diff

diff -uNrp libnl-3.2.28/include/linux-private/linux/if_bridge.h libnl-3.2.28-new//include/linux-private/linux/if_bridge.h
--- libnl-3.2.28/include/linux-private/linux/if_bridge.h 2016-06-29 17:04:28.000000000 +0800
+++ libnl-3.2.28-new//include/linux-private/linux/if_bridge.h 2016-11-26 13:46:11.000000000 +0800
@@ -15,7 +15,7 @@
#include <linux/types.h>
#include <linux/if_ether.h>
-#include <linux/in6.h>
+#include <netinet/in.h>
#define SYSFS_BRIDGE_ATTR "bridge"
#define SYSFS_BRIDGE_FDB "brforward"