From: wdenk Date: Tue, 3 May 2005 14:12:25 +0000 (+0000) Subject: README: add explanation about patch policy X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=90dc67049df9db3469e6dfa6073d36b7ae848d05;p=u-boot.git README: add explanation about patch policy net/net.c: fix indentation --- diff --git a/README b/README index c1441fb2bb..c52ccbd9db 100644 --- a/README +++ b/README @@ -3381,6 +3381,7 @@ Since the number of patches for U-Boot is growing, we need to establish some rules. Submissions which do not conform to these rules may be rejected, even when they contain important and valuable stuff. +Patches shall be sent to the u-boot-users mailing list. When you send a patch, please include the following information with it: @@ -3438,3 +3439,6 @@ Notes: (using #ifdef), and the resulting code with the new feature disabled must not need more memory than the old code without your modification. + +* Remember that there is a size limit of 40 kB per message on the + u-boot-users mailing list. Compression may help. diff --git a/net/net.c b/net/net.c index 8e5dbd60e9..5b06495689 100644 --- a/net/net.c +++ b/net/net.c @@ -1405,11 +1405,11 @@ NetReceive(volatile uchar * inpkt, int len) switch (icmph->type) { case ICMP_REDIRECT: - if (icmph->code != ICMP_REDIR_HOST) - return; - puts (" ICMP Host Redirect to "); - print_IPaddr(icmph->un.gateway); - putc(' '); + if (icmph->code != ICMP_REDIR_HOST) + return; + puts (" ICMP Host Redirect to "); + print_IPaddr(icmph->un.gateway); + putc(' '); break; #if (CONFIG_COMMANDS & CFG_CMD_PING) case ICMP_ECHO_REPLY: