summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2021-02-26 00:16:41 +0000
committerderaadt <deraadt@openbsd.org>2021-02-26 00:16:41 +0000
commit0511cb0776866ebcafd1fb61401313d80ed1300e (patch)
tree9a72ae36ad1ebe02897f7324e600aae3b12a88fb
parentIndicate hostready signal to inform the firmware that the rings have been (diff)
downloadwireguard-openbsd-0511cb0776866ebcafd1fb61401313d80ed1300e.tar.xz
wireguard-openbsd-0511cb0776866ebcafd1fb61401313d80ed1300e.zip
gcc is more strict about union decls
ok dlg
-rw-r--r--sys/net/if_veb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_veb.c b/sys/net/if_veb.c
index b4d043f9c81..3df480c7673 100644
--- a/sys/net/if_veb.c
+++ b/sys/net/if_veb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_veb.c,v 1.8 2021/02/24 01:20:03 dlg Exp $ */
+/* $OpenBSD: if_veb.c,v 1.9 2021/02/26 00:16:41 deraadt Exp $ */
/*
* Copyright (c) 2021 David Gwynne <dlg@openbsd.org>
@@ -78,10 +78,10 @@ union veb_addr {
};
static const union veb_addr veb_8021_group = {
- .ea = { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x00 }
+ .ea = { { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x00 } }
};
static const union veb_addr veb_8021_group_mask = {
- .ea = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0 }
+ .ea = { { 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0 } }
};
/* SIOCBRDGIFFLGS, SIOCBRDGIFFLGS */