From 857a060fe3a415c1909ad8a342d9ca21019ab2fc Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 13 Nov 2020 13:49:27 +0100 Subject: pkg/compiler: check for flags with all equal values There is no point in having flags when values are equal. This can only mean a typo or other bug. Check for such cases and fix 3 existing precedents. --- sys/openbsd/vnet.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/openbsd') diff --git a/sys/openbsd/vnet.txt b/sys/openbsd/vnet.txt index bd18f899c..6c229b969 100644 --- a/sys/openbsd/vnet.txt +++ b/sys/openbsd/vnet.txt @@ -566,7 +566,7 @@ ipv6_hopots_ext_header { options array[ipv6_tlv_option] } [packed, align[8]] -ipv6_routing_types = IPV6_RTHDR_LOOSE, IPV6_RTHDR_TYPE_0 +ipv6_routing_types = IPV6_RTHDR_LOOSE ipv6_rt_hdr { next_header flags[ipv6_types, int8] -- cgit mrf-deployment