From 96e8f16c0500dd8e0da330d96591753037a3d2b1 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 6 Dec 2009 08:58:41 +0000 Subject: [PATCH] Sligthly reordered struct netif's members to better meet alignment requirements --- src/include/lwip/netif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/netif.h b/src/include/lwip/netif.h index a3250305..c50a6da8 100644 --- a/src/include/lwip/netif.h +++ b/src/include/lwip/netif.h @@ -131,12 +131,12 @@ struct netif { /* the hostname for this netif, NULL is a valid value */ char* hostname; #endif /* LWIP_NETIF_HOSTNAME */ + /** maximum transfer unit (in bytes) */ + u16_t mtu; /** number of bytes used in hwaddr */ u8_t hwaddr_len; /** link level hardware address of this interface */ u8_t hwaddr[NETIF_MAX_HWADDR_LEN]; - /** maximum transfer unit (in bytes) */ - u16_t mtu; /** flags (see NETIF_FLAG_ above) */ u8_t flags; /** descriptive abbreviation */