summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
authoryuanbin <[email protected]>2015-05-08 18:49:25 +0800
committeryuanbin <[email protected]>2015-05-08 19:02:19 +0800
commite9c489d02bfaf2b8ea1b36ac1cc3bd8fa6f92605 (patch)
treeccc7500935870b21bec8bed1d42613e0ecbafcb1 /components/net
parent877a679b26750f6fe1b29273c79416c0d5e53541 (diff)
modify indentation
Diffstat (limited to 'components/net')
-rw-r--r--components/net/lwip_dhcpd/dhcp_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net/lwip_dhcpd/dhcp_server.c b/components/net/lwip_dhcpd/dhcp_server.c
index f242236606..cb3fc0f464 100644
--- a/components/net/lwip_dhcpd/dhcp_server.c
+++ b/components/net/lwip_dhcpd/dhcp_server.c
@@ -378,12 +378,12 @@ void dhcpd_start(char* netif_name)
rt_thread_t thread;
struct netif *netif = netif_list;
- if(strlen(netif_name) > sizeof(netif->name))
+ if(strlen(netif_name) > sizeof(netif->name))
{
rt_kprintf("network interface name too long!\r\n");
return;
}
- while(netif != RT_NULL)
+ while(netif != RT_NULL)
{
if(strncmp(netif_name, netif->name, sizeof(netif->name)) == 0)
break;