/[grub]/grub/netboot/main.c
ViewVC logotype

Diff of /grub/netboot/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by okuji, Wed Jan 2 21:56:40 2002 UTC revision 1.15 by okuji, Wed Jun 12 08:58:21 2002 UTC
# Line 1  Line 1 
1  /*  /*
2   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
3   *  Copyright (C) 2000, 2001  Free Software Foundation, Inc.   *  Copyright (C) 2000,2001,2002  Free Software Foundation, Inc.
4   *   *
5   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
6   *  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
# Line 167  ifconfig (char *ip, char *sm, char *gw, Line 167  ifconfig (char *ip, char *sm, char *gw,
167        
168    if (gw && ! inet_aton (gw, &arptable[ARP_GATEWAY].ipaddr))    if (gw && ! inet_aton (gw, &arptable[ARP_GATEWAY].ipaddr))
169      return 0;      return 0;
170    
171      /* Clear out the ARP entry.  */
172      grub_memset (arptable[ARP_GATEWAY].node, 0, ETH_ALEN);
173        
174    if (svr && ! inet_aton (svr, &arptable[ARP_SERVER].ipaddr))    if (svr && ! inet_aton (svr, &arptable[ARP_SERVER].ipaddr))
175      return 0;      return 0;
176    
177      /* Likewise.  */
178      grub_memset (arptable[ARP_SERVER].node, 0, ETH_ALEN);
179        
180    if (ip || sm)    if (ip || sm)
181      {      {

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26