From f9e3dedbae8d7f694649671c0d518073144c6836 Mon Sep 17 00:00:00 2001 From: dlg Date: Sun, 28 Feb 2021 03:59:25 +0000 Subject: [PATCH] big numbers need suffixes on some platforms. fix LACP_ADDR_SLOW_E64. deraadt@ says i broke hppa :( --- sys/net/if_aggr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_aggr.c b/sys/net/if_aggr.c index 1e24e2537ea..5be2d4639d9 100644 --- a/sys/net/if_aggr.c +++ b/sys/net/if_aggr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_aggr.c,v 1.37 2021/02/27 01:19:11 dlg Exp $ */ +/* $OpenBSD: if_aggr.c,v 1.38 2021/02/28 03:59:25 dlg Exp $ */ /* * Copyright (c) 2019 The University of Queensland @@ -108,7 +108,7 @@ struct ether_slowproto_hdr { #define LACP_ADDR_C_BRIDGE { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x00 } #define LACP_ADDR_SLOW { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x02 } -#define LACP_ADDR_SLOW_E64 0x0180c2000002 +#define LACP_ADDR_SLOW_E64 0x0180c2000002ULL #define LACP_ADDR_NON_TPMR_BRIDGE { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x03 } struct lacp_tlv_hdr { -- 2.20.1