From 0511cb0776866ebcafd1fb61401313d80ed1300e Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 26 Feb 2021 00:16:41 +0000 Subject: [PATCH] gcc is more strict about union decls ok dlg --- sys/net/if_veb.c | 6 +++--- 1 file 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 @@ -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 */ -- 2.20.1