mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
add a new command tftpserver.
This commit is contained in:
1 parent
83038ffbbc
commit
7ca6bf9d91
6 files changed
+62
-4
No files matched your search
+3
-4
@@ -159,8 +159,9 @@ void printf(const char *fmt, ...)
|
||||
do_printf(buf, fmt, ((const int *)&fmt)+1);
|
||||
while (*p) putchar(*p++);
|
||||
}
|
||||
#endif /* ! GRUB */
|
||||
|
||||
#ifdef IMAGE_MENU
|
||||
#if defined(IMAGE_MENU) || defined(GRUB)
|
||||
/**************************************************************************
|
||||
INET_ATON - Convert an ascii x.x.x.x to binary form
|
||||
**************************************************************************/
|
||||
@@ -184,9 +185,7 @@ int inet_aton(char *p, in_addr *i)
|
||||
i->s_addr = htonl((ip << 8) | val);
|
||||
return(1);
|
||||
}
|
||||
|
||||
#endif /* IMAGE_MENU */
|
||||
#endif /* ! GRUB */
|
||||
#endif /* IMAGE_MENU || GRUB */
|
||||
|
||||
int getdec(char **ptr)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user