diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-02-05 20:17:21 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-02-06 10:19:52 +0100 |
commit | d42add3c17886fc22e88714291fdbe6d2a0ae2ee (patch) | |
tree | a13fe2f90558fbeee060c5fefd3c8efa4e36aeb8 | |
parent | shared/linux: update kernel headers (diff) | |
download | systemd-d42add3c17886fc22e88714291fdbe6d2a0ae2ee.tar.xz systemd-d42add3c17886fc22e88714291fdbe6d2a0ae2ee.zip |
sd-network: stop using fake flexible array
-rw-r--r-- | src/libsystemd-network/dhcp-protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp-protocol.h b/src/libsystemd-network/dhcp-protocol.h index c4972d144c..062ce006f3 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; |