Changeset 230

Show
Ignore:
Timestamp:
04/11/07 14:50:27 (2 years ago)
Author:
ludo
Message:

v1.33. Grub config: first test with MAC then with IP (from r4211)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/client/src_revoboot/common.c

    r201 r230  
    185185  grub_printf("Base Dir : %s\n",basedir); 
    186186  
    187   iphex((char *)&arptable[ARP_CLIENT].ipaddr); 
     187  machex((char *)nic_macaddr); 
    188188  grub_sprintf(config_file,"%s/cfg/%s",basedir,ip); 
    189189  grub_printf("Testing : %s\n",config_file); 
    190190  if (new_tftpdir(config_file) < 0) 
    191191  { 
    192         machex((char *)nic_macaddr); 
     192        iphex((char *)&arptable[ARP_CLIENT].ipaddr); 
    193193        grub_sprintf(config_file,"%s/cfg/%s",basedir,ip); 
    194194        grub_printf("Testing : %s\n",config_file); 
  • trunk/client/src_revoboot/config.h

    r216 r230  
    1010 
    1111#define PACKAGE "LinboxBootLoader" 
    12 #define VERSION "1.32
     12#define VERSION "1.33