diff options
author | Laurent Vivier <lvivier@redhat.com> | 2025-09-17 08:41:42 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-18 17:11:36 +0200 |
commit | 6f23cb9fdb59a8369780c19a06c0739e1c2c8c09 (patch) | |
tree | d9fbd639652c6989a299c176ccb4b833bbaa81fa | |
parent | 1f22fde93466005d803bf2fb1b17147b877fb7ed (diff) | |
download | passt-6f23cb9fdb59a8369780c19a06c0739e1c2c8c09.tar passt-6f23cb9fdb59a8369780c19a06c0739e1c2c8c09.tar.gz passt-6f23cb9fdb59a8369780c19a06c0739e1c2c8c09.tar.bz2 passt-6f23cb9fdb59a8369780c19a06c0739e1c2c8c09.tar.lz passt-6f23cb9fdb59a8369780c19a06c0739e1c2c8c09.tar.xz passt-6f23cb9fdb59a8369780c19a06c0739e1c2c8c09.tar.zst passt-6f23cb9fdb59a8369780c19a06c0739e1c2c8c09.zip |
dhcp: Fix coding style violations in dhcp() function
The dhcp() function wasn't following the inverted Christmas tree
variable declaration ordering convention.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -311,10 +311,10 @@ int dhcp(const struct ctx *c, struct iov_tail *data) const struct ethhdr *eh; const struct iphdr *iph; const struct udphdr *uh; + struct msg m_storage; struct msg const *m; struct msg reply; unsigned int i; - struct msg m_storage; eh = IOV_REMOVE_HEADER(data, eh_storage); iph = IOV_PEEK_HEADER(data, iph_storage); |