mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
2002-06-12 Yoshinori K. Okuji <okuji@enbug.org>
* netboot/main.c (ifconfig): If GW is specified, clear out the ARP entry for the gateway. If SVR is specified, clear out the ARP entry for the server. Reported by Uwe Dannowski <ud3@ira.uka.de>.
This commit is contained in:
1 parent
24bd9d82c1
commit
86dbc3fcbc
4 files changed
+17
-1
No files matched your search
@@ -1,3 +1,10 @@
|
|||||||
|
2002-06-12 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
|
* netboot/main.c (ifconfig): If GW is specified, clear out the
|
||||||
|
ARP entry for the gateway. If SVR is specified, clear out the
|
||||||
|
ARP entry for the server. Reported by Uwe Dannowski
|
||||||
|
<ud3@ira.uka.de>.
|
||||||
|
|
||||||
2002-06-12 Yoshinori K. Okuji <okuji@enbug.org>
|
2002-06-12 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* util/grub-md5-crypt.in: Prompt to retype a password, and check
|
* util/grub-md5-crypt.in: Prompt to retype a password, and check
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ New in 0.93:
|
|||||||
input characters. If you specify ``--no-edit'', GRUB will disable the
|
input characters. If you specify ``--no-edit'', GRUB will disable the
|
||||||
BASH-like editing feature. These options are useful when using an
|
BASH-like editing feature. These options are useful when using an
|
||||||
intelligent terminal (such as the comint mode in GNU Emacs).
|
intelligent terminal (such as the comint mode in GNU Emacs).
|
||||||
|
* The utility ``grub-md5-crypt'' prompts to retype a password and checks
|
||||||
|
if the passwords match.
|
||||||
|
|
||||||
New in 0.92 - 2002-04-30:
|
New in 0.92 - 2002-04-30:
|
||||||
* The command "displaymem" uses only hex digits for consistency.
|
* The command "displaymem" uses only hex digits for consistency.
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ Thierry DELHAISE <thierry.delhaise@delhaise.com>
|
|||||||
Thierry Laronde <thierry.laronde@polynum.com>
|
Thierry Laronde <thierry.laronde@polynum.com>
|
||||||
Thomas Schweikle <tschweikle@fiducia.de>
|
Thomas Schweikle <tschweikle@fiducia.de>
|
||||||
Torsten Duwe <duwe@caldera.de>
|
Torsten Duwe <duwe@caldera.de>
|
||||||
|
Uwe Dannowski <ud3@ira.uka.de>
|
||||||
VaX#n8 <vax@linkdead.paranoia.com>
|
VaX#n8 <vax@linkdead.paranoia.com>
|
||||||
Vesa Jaaskelainen <jaaskela@tietomyrsky.fi>
|
Vesa Jaaskelainen <jaaskela@tietomyrsky.fi>
|
||||||
Yedidyah Bar-David <didi@post.tau.ac.il>
|
Yedidyah Bar-David <didi@post.tau.ac.il>
|
||||||
|
|||||||
+7
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* GRUB -- GRand Unified Bootloader
|
* GRUB -- GRand Unified Bootloader
|
||||||
* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
* Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -168,9 +168,15 @@ ifconfig (char *ip, char *sm, char *gw, char *svr)
|
|||||||
if (gw && ! inet_aton (gw, &arptable[ARP_GATEWAY].ipaddr))
|
if (gw && ! inet_aton (gw, &arptable[ARP_GATEWAY].ipaddr))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
/* Clear out the ARP entry. */
|
||||||
|
grub_memset (arptable[ARP_GATEWAY].node, 0, ETH_ALEN);
|
||||||
|
|
||||||
if (svr && ! inet_aton (svr, &arptable[ARP_SERVER].ipaddr))
|
if (svr && ! inet_aton (svr, &arptable[ARP_SERVER].ipaddr))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
/* Likewise. */
|
||||||
|
grub_memset (arptable[ARP_SERVER].node, 0, ETH_ALEN);
|
||||||
|
|
||||||
if (ip || sm)
|
if (ip || sm)
|
||||||
{
|
{
|
||||||
if (IP_BROADCAST == (netmask | arptable[ARP_CLIENT].ipaddr.s_addr)
|
if (IP_BROADCAST == (netmask | arptable[ARP_CLIENT].ipaddr.s_addr)
|
||||||
|
|||||||
Reference in new issue
Block a user