aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/ipaddress.c5
-rw-r--r--networking/libiproute/iproute.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index f2e340a42..af29dd301 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -23,7 +23,7 @@
#define IFF_LOWER_UP 0x10000 /* driver signals L1 up*/
#endif
-typedef struct filter_t {
+struct filter_t {
char *label;
char *flushb;
struct rtnl_handle *rth;
@@ -38,7 +38,8 @@ typedef struct filter_t {
smallint up;
smallint flushed;
inet_prefix pfx;
-} filter_t;
+} FIX_ALIASING;
+typedef struct filter_t filter_t;
#define G_filter (*(filter_t*)&bb_common_bufsiz1)
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 520cc820a..68e3c36a0 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -22,7 +22,7 @@
#endif
-typedef struct filter_t {
+struct filter_t {
int tb;
smallint flushed;
char *flushb;
@@ -43,7 +43,8 @@ typedef struct filter_t {
inet_prefix mdst;
inet_prefix rsrc;
inet_prefix msrc;
-} filter_t;
+} FIX_ALIASING;
+typedef struct filter_t filter_t;
#define G_filter (*(filter_t*)&bb_common_bufsiz1)