From: mariusgroeger Date: Fri, 19 Jul 2002 13:57:00 +0000 (+0000) Subject: Fix tmp string in cmd_net.c (Kyle Harris ) X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bdb8863b803fef49737ed9cd95a2b01ccbe34264;p=users%2Frw%2Farmboot.git Fix tmp string in cmd_net.c (Kyle Harris ) --- diff --git a/CHANGELOG b/CHANGELOG index b01dda1..dc4ab4f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,8 @@ Recent changes ====================================================================== +* Fix tmp string in cmd_net.c (Kyle Harris ) + * Added FAQ * Added support for SMDK2410 eval board (David Müller ) diff --git a/common/cmd_net.c b/common/cmd_net.c index 26f3c90..0ea9658 100644 --- a/common/cmd_net.c +++ b/common/cmd_net.c @@ -63,7 +63,7 @@ int do_dhcp (cmd_tbl_t *cmdtp, bd_t *bd, int flag, int argc, char *argv[]) static void netboot_update_env(void) { - char tmp[12] ; + char tmp[16] ; if (NetOurGatewayIP) { ip_to_string (NetOurGatewayIP, tmp);