From: Zbigniew Jędrzejewski-Szmek Date: Sun, 5 Feb 2023 19:17:21 +0000 (+0100) Subject: sd-network: stop using fake flexible array X-Git-Tag: v253-rc3~38^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d42add3c17886fc22e88714291fdbe6d2a0ae2ee;p=thirdparty%2Fsystemd.git sd-network: stop using fake flexible array --- diff --git a/src/libsystemd-network/dhcp-protocol.h b/src/libsystemd-network/dhcp-protocol.h index c4972d144c2..062ce006f30 100644 --- a/src/libsystemd-network/dhcp-protocol.h +++ b/src/libsystemd-network/dhcp-protocol.h @@ -28,7 +28,7 @@ struct DHCPMessage { uint8_t sname[64]; uint8_t file[128]; be32_t magic; - uint8_t options[0]; + uint8_t options[]; } _packed_; typedef struct DHCPMessage DHCPMessage;