Fix [-Wgnu-variable-sized-type-not-at-end] warning.

Thanks to Matthias Andree for pointing out this one.
This commit is contained in:
Simon Kelley
2024-12-20 21:05:13 +00:00
parent 742af6e4b9
commit 4902807879

View File

@@ -1125,7 +1125,10 @@ struct tftp_prefix {
};
struct dhcp_relay {
union all_addr local, server;
union {
struct in_addr addr4;
struct in6_addr addr6;
} local, server;
char *interface; /* Allowable interface for replies from server, and dest for IPv6 multicast */
int iface_index; /* working - interface in which requests arrived, for return */
int port; /* Port of relay we forward to. */